Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-28 23:59:02.579842 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29072025 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 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27092025 debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250729 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250815 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250816 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250818 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250819 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250820 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250821 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250822 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250823 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250824 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250825 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250826 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250827 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250828 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250829 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250830 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250831 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250901 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250902 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250903 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250904 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250905 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250906 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250907 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250908 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250909 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250910 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250911 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250912 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250913 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250914 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250915 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250916 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250917 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250918 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250919 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250920 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250921 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250922 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250923 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250924 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250925 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250926 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250927 ORDER BY id_local DESC LIMIT 6;we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28092025 port_id : 27320360 datou_current_id : 3791295 in upload_from_sqlite, uploading in 27320360 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250928 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', 2), ('/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', 2), ('/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', 2), ('/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', 2), ('/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', 2), ('/mnt/data/28092025/23/27/image_28092025_23_27_35_29929.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', '/mnt/data/28092025/23/27/image_28092025_23_27_35_29929.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', '/mnt/data/28092025/23/27/image_28092025_23_27_35_29929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791295&datou=0 /mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg /mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg /mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg /mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg /mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg /mnt/data/28092025/23/27/image_28092025_23_27_35_29929.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.283368587493896 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-28 23:59:37.979161 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 36.80940103530884 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', 2), ('/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', 2), ('/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', 2), ('/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', '/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', '/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', '/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', '/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', '/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg'] batch 1 begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:00:26.153335 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 37.69319462776184 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', 2), ('/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', 2), ('/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', 2), ('/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', 2), ('/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', 2), ('/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', '/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg'] batch 1 begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:01:14.285539 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 55.22096633911133 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', 2), ('/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', 2), ('/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', 2), ('/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', 2), ('/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', 2), ('/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', '/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg'] batch 1 begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:02:14.527596 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 32.23622989654541 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', 2), ('/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', 2), ('/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', 2), ('/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', 2), ('/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', 2), ('/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', '/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:02:50.496653 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.342485904693604 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', 2), ('/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', 2), ('/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', 2), ('/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', '/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', '/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', '/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', '/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', '/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:03:26.631340 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.224085569381714 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', 2), ('/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', 2), ('/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', 2), ('/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', 2), ('/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', 2), ('/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', '/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:04:03.315316 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29072025 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 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 31082025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26092025 we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27092025 debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250729 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250730 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250731 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250801 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250802 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250803 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250804 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250805 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250806 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250807 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250808 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250809 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250810 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250811 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250812 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250813 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250814 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250815 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250816 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250817 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250818 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250819 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250820 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250821 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250822 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250823 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250824 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250825 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250826 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250827 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250828 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250829 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250830 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250831 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250901 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250902 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250903 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250904 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250905 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250906 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250907 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250908 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250909 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250910 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250911 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250912 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250913 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250914 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250915 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250916 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250917 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250918 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250919 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250920 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250921 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250922 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250923 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250924 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250925 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250926 ORDER BY id_local DESC LIMIT 6; SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250927 ORDER BY id_local DESC LIMIT 6;we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28092025 port_id : 27320360 datou_current_id : 3791295 in upload_from_sqlite, uploading in 27320360 in upload_photo_and_update_logs, uploading 6 files SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250928 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', 2), ('/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', 2), ('/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', 2), ('/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', 2), ('/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', 2), ('/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', '/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg', '/mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg', '/mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg', '/mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg', '/mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg', '/mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791295&datou=0 /mnt/data/28092025/23/50/image_28092025_23_50_35_29757.jpg /mnt/data/28092025/23/49/image_28092025_23_50_05_29818.jpg /mnt/data/28092025/23/47/image_28092025_23_48_05_29860.jpg /mnt/data/28092025/23/40/image_28092025_23_40_35_29783.jpg /mnt/data/28092025/23/38/image_28092025_23_39_05_29908.jpg /mnt/data/28092025/23/28/image_28092025_23_28_35_29913.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.394463777542114 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:04:38.778795 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 46.959688901901245 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', 2), ('/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', 2), ('/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', 2), ('/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', '/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', '/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', '/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', '/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', '/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg'] batch 1 begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:05:37.918293 in upload_from_sqlite, uploading in 27320360 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.327409982681274 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', 2), ('/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', 2), ('/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', 2), ('/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', 2), ('/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg', 2)] port id, 27320360 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/28092025/18/54/image_28092025_18_55_05_29723.jpg', '/mnt/data/28092025/18/56/image_28092025_18_56_35_29951.jpg', '/mnt/data/28092025/18/57/image_28092025_18_57_35_29806.jpg', '/mnt/data/28092025/18/58/image_28092025_18_58_35_29779.jpg', '/mnt/data/28092025/19/00/image_28092025_19_00_35_29976.jpg', '/mnt/data/28092025/19/00/image_28092025_19_01_05_29962.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:06:14.085111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:07:26.239783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:08:38.309524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:09:50.511019 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:11:03.447918 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:12:13.989491 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:13:26.066680 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:14:38.225645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:15:50.370498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:17:03.215524 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:18:13.820044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:19:25.933064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:20:38.113341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:21:50.256264 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:23:03.171776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:24:14.678811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:25:25.918539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:26:38.062822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:27:50.207932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:29:03.635038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:30:14.059466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:31:26.054986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:32:38.248326 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:33:26.334092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:34:38.510134 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:35:50.677678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:37:02.587379 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:38:14.091600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:39:26.266914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:40:38.408523 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:41:50.562193 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:43:02.519603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:44:13.976292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:45:26.130830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:46:38.257196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:47:50.376187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:49:03.556882 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:50:13.871984 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:51:26.011951 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:52:38.167328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:53:50.294048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:55:03.142883 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:56:14.740474 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 00:57:25.921817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 00:59:03.471068 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:00:14.754444 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:01:25.904580 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:02:38.023920 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:03:50.148465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:05:03.254645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:06:14.655498 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:07:25.789872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:08:38.012870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:09:50.162394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:11:03.105158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:12:14.579461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:13:03.378564 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:14:13.867851 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:15:25.977216 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:16:38.169550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:17:50.312933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:19:03.268440 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:20:13.825684 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:21:25.938152 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:22:38.058948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:23:50.212888 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:25:03.069082 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:26:14.699752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:27:25.943601 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:29:03.053231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:30:14.577312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:31:26.739727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:32:37.845571 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:33:50.050924 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:35:02.920120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:36:14.477478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:37:26.651725 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:38:37.788036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:39:49.965866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:41:02.802268 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:42:14.391748 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:43:26.545153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:44:38.792280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:45:49.805285 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:47:02.661525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:48:14.224397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:49:26.401731 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:50:38.608977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:51:50.731685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:53:02.661805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:53:50.046899 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:55:02.975970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:56:14.471286 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 01:57:26.608292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 01:59:03.065076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:00:14.589742 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:01:26.751590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:02:37.896394 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:03:50.030794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:04:38.440897 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:05:50.635907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:07:02.495630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:08:14.032885 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:09:26.200292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:10:38.815677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:11:50.009860 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:13:02.775957 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:14:14.427020 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:15:26.608521 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:16:38.714392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:17:49.874602 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:19:02.848679 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:20:14.269149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:21:26.407048 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:22:38.530225 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:23:50.702493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:25:02.654701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:25:50.068005 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:27:02.990842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:28:02.923510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:29:14.691316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:30:25.815950 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:31:38.001138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:32:50.097689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:34:02.936299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:35:14.586827 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:36:26.668186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:37:38.821207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:38:49.940599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:40:02.754425 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:41:14.416381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:42:26.555873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:43:38.723770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:44:25.886376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:45:38.036165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:46:50.144864 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:48:02.833490 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:49:14.564282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:50:26.731480 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:51:37.853358 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:52:50.004765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:54:02.780600 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:55:14.447041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:56:26.541915 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 02:57:38.743942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 02:59:02.906726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:00:14.274528 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:01:26.385544 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:02:38.538599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:03:50.658194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:05:02.625606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:06:14.049881 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:07:26.185848 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:08:38.303296 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:09:50.472913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:10:38.591455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:11:50.794636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:13:02.573137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect tls_in_tls=tls_in_tls, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket sock, context, tls_in_tls, server_hostname=server_hostname File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket _context=self, _session=session) File "/usr/lib/python3.6/ssl.py", line 817, in __init__ self.do_handshake() File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake self._sslobj.do_handshake() File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake self._sslobj.do_handshake() ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 532, in increment raise six.reraise(type(error), error, _stacktrace) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise raise value.with_traceback(tb) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect tls_in_tls=tls_in_tls, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket sock, context, tls_in_tls, server_hostname=server_hostname File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket _context=self, _session=session) File "/usr/lib/python3.6/ssl.py", line 817, in __init__ self.do_handshake() File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake self._sslobj.do_handshake() File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:19:13.891187 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:20:26.022683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:21:38.172986 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:22:50.306867 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:24:03.166708 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:25:14.769721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:26:25.925185 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:27:38.066770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:28:02.561034 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:29:14.420932 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:30:26.552107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:31:38.707463 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:32:49.808429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:34:02.635625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:35:14.223292 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:36:26.354637 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:37:38.492717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:38:50.629363 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:40:02.345931 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:40:49.910040 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:42:02.740010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:43:14.328946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:44:26.458397 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:45:38.610700 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:46:50.735518 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:48:02.471526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:49:14.170053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:50:26.281260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:51:38.433960 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:52:50.622539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:54:02.525807 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:55:14.126630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:56:26.332895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 03:57:38.553277 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 03:59:02.965821 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:00:14.362054 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:01:26.492234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:02:38.625477 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:03:50.830770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:05:02.703041 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:06:14.321416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:07:26.435970 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:08:38.596872 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:09:50.776839 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:11:03.093727 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:12:14.672282 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False error with portfolio, creating one with hour/min Maybe name is duplicate : jetson_test_aec_mm_0225_29092025 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2)] Status : 408 Content : b'\n\n408 Request Timeout\n\n

Request Timeout

\n

Server timeout waiting for the HTTP request from the client.

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' All Response : Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 187, in get_port_id_and_datou_current_id port_id = str(fc.create_portfolio("{}_{}_{}{}".format(name, day, hour, minutes), verbose=verbose)) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:13:37.892625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:14:49.995980 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:16:02.695448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:17:14.580637 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:18:26.707967 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:19:37.883492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:20:49.991843 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:22:02.719855 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:23:14.417001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:24:26.597195 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:25:38.756745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:26:49.845466 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:28:02.529137 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:30:14.076952 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:31:26.215808 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:32:38.333098 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:33:50.481119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:35:03.304233 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:36:13.915043 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:37:26.125910 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:38:38.169064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:39:50.328647 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:41:03.202065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:42:14.788234 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:43:25.871686 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:44:38.038649 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:45:50.284318 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:47:03.094107 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:48:14.703842 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:49:25.886407 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:50:37.991890 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:51:50.154612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:53:02.973322 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:54:14.674624 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:55:26.728125 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:56:37.873177 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 04:57:49.995858 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 04:59:03.464743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:00:13.963155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/50/image_29092025_04_50_35_29705.jpg', 2), ('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:01:26.086898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/00/image_29092025_05_00_35_29858.jpg', 2), ('/mnt/data/29092025/04/50/image_29092025_04_50_35_29705.jpg', 2), ('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:02:38.272428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:03:50.439702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:05:03.297583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/02/image_29092025_05_02_36_30616.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_02_05_29540.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_01_35_30841.jpg', 2), ('/mnt/data/29092025/05/00/image_29092025_05_00_35_29858.jpg', 2), ('/mnt/data/29092025/04/50/image_29092025_04_50_35_29705.jpg', 2), ('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:06:13.850118 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/05/image_29092025_05_06_05_29364.jpg', 2), ('/mnt/data/29092025/05/03/image_29092025_05_04_05_29398.jpg', 2), ('/mnt/data/29092025/05/02/image_29092025_05_02_36_30616.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_02_05_29540.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_01_35_30841.jpg', 2), ('/mnt/data/29092025/05/00/image_29092025_05_00_35_29858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:07:25.983635 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/06/image_29092025_05_07_05_30325.jpg', 2), ('/mnt/data/29092025/05/06/image_29092025_05_06_35_30278.jpg', 2), ('/mnt/data/29092025/05/05/image_29092025_05_06_05_29364.jpg', 2), ('/mnt/data/29092025/05/03/image_29092025_05_04_05_29398.jpg', 2), ('/mnt/data/29092025/05/02/image_29092025_05_02_36_30616.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_02_05_29540.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:08:38.110436 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:09:26.280707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/08/image_29092025_05_09_05_29523.jpg', 2), ('/mnt/data/29092025/05/08/image_29092025_05_08_36_30472.jpg', 2), ('/mnt/data/29092025/05/07/image_29092025_05_08_05_29431.jpg', 2), ('/mnt/data/29092025/05/07/image_29092025_05_07_36_30351.jpg', 2), ('/mnt/data/29092025/05/06/image_29092025_05_07_05_30325.jpg', 2), ('/mnt/data/29092025/05/06/image_29092025_05_06_35_30278.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:10:38.436512 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:11:50.585991 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:13:02.355259 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_11_05_30689.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_10_35_29261.jpg', 2), ('/mnt/data/29092025/05/09/image_29092025_05_10_06_30999.jpg', 2), ('/mnt/data/29092025/05/09/image_29092025_05_09_35_29489.jpg', 2), ('/mnt/data/29092025/05/08/image_29092025_05_09_05_29523.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:14:13.983109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/13/image_29092025_05_14_05_30479.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_13_35_29128.jpg', 2), ('/mnt/data/29092025/05/12/image_29092025_05_13_06_30540.jpg', 2), ('/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', 2), ('/mnt/data/29092025/05/11/image_29092025_05_12_05_29661.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_11_05_30689.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:15:26.247036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/14/image_29092025_05_15_05_29702.jpg', 2), ('/mnt/data/29092025/05/14/image_29092025_05_14_36_30392.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_14_05_30479.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_13_35_29128.jpg', 2), ('/mnt/data/29092025/05/12/image_29092025_05_13_06_30540.jpg', 2), ('/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:16:38.324376 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:17:50.412981 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:19:03.430693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', 2), ('/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', 2), ('/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:20:13.865452 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/18/image_29092025_05_18_35_29349.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', 2), ('/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:21:26.002763 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/20/image_29092025_05_21_06_30607.jpg', 2), ('/mnt/data/29092025/05/20/image_29092025_05_20_35_29507.jpg', 2), ('/mnt/data/29092025/05/18/image_29092025_05_18_35_29349.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:22:38.140011 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:23:26.264961 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/22/image_29092025_05_23_05_29277.jpg', 2), ('/mnt/data/29092025/05/22/image_29092025_05_22_36_30425.jpg', 2), ('/mnt/data/29092025/05/21/image_29092025_05_22_05_30389.jpg', 2), ('/mnt/data/29092025/05/21/image_29092025_05_21_35_29175.jpg', 2), ('/mnt/data/29092025/05/20/image_29092025_05_21_06_30607.jpg', 2), ('/mnt/data/29092025/05/20/image_29092025_05_20_35_29507.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:24:38.451758 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:25:50.569873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:27:02.322150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:28:02.366764 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', 2), ('/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', 2), ('/mnt/data/29092025/05/25/image_29092025_05_25_35_29501.jpg', 2), ('/mnt/data/29092025/05/24/image_29092025_05_25_06_30623.jpg', 2), ('/mnt/data/29092025/05/24/image_29092025_05_24_35_30480.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:29:14.179565 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', 2), ('/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:30:26.338591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', 2), ('/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', 2), ('/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:31:38.473726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:32:50.577617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:34:02.426643 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/32/image_29092025_05_33_05_29749.jpg', 2), ('/mnt/data/29092025/05/32/image_29092025_05_32_35_29741.jpg', 2), ('/mnt/data/29092025/05/31/image_29092025_05_32_05_29785.jpg', 2), ('/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:35:13.988045 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/34/image_29092025_05_35_05_29547.jpg', 2), ('/mnt/data/29092025/05/34/image_29092025_05_34_36_30512.jpg', 2), ('/mnt/data/29092025/05/33/image_29092025_05_34_05_29544.jpg', 2), ('/mnt/data/29092025/05/33/image_29092025_05_33_36_31048.jpg', 2), ('/mnt/data/29092025/05/32/image_29092025_05_33_05_29749.jpg', 2), ('/mnt/data/29092025/05/32/image_29092025_05_32_35_29741.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:36:26.136081 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/35/image_29092025_05_36_05_30603.jpg', 2), ('/mnt/data/29092025/05/35/image_29092025_05_35_35_29343.jpg', 2), ('/mnt/data/29092025/05/34/image_29092025_05_35_05_29547.jpg', 2), ('/mnt/data/29092025/05/34/image_29092025_05_34_36_30512.jpg', 2), ('/mnt/data/29092025/05/33/image_29092025_05_34_05_29544.jpg', 2), ('/mnt/data/29092025/05/33/image_29092025_05_33_36_31048.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:37:38.299389 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:38:50.393990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:40:02.627594 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/38/image_29092025_05_39_05_29339.jpg', 2), ('/mnt/data/29092025/05/38/image_29092025_05_38_36_30835.jpg', 2), ('/mnt/data/29092025/05/37/image_29092025_05_38_05_29473.jpg', 2), ('/mnt/data/29092025/05/37/image_29092025_05_37_35_30493.jpg', 2), ('/mnt/data/29092025/05/36/image_29092025_05_37_05_29327.jpg', 2), ('/mnt/data/29092025/05/36/image_29092025_05_36_35_30343.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:41:14.326348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/40/image_29092025_05_41_06_30597.jpg', 2), ('/mnt/data/29092025/05/40/image_29092025_05_40_35_30376.jpg', 2), ('/mnt/data/29092025/05/39/image_29092025_05_40_05_29382.jpg', 2), ('/mnt/data/29092025/05/39/image_29092025_05_39_35_30376.jpg', 2), ('/mnt/data/29092025/05/38/image_29092025_05_39_05_29339.jpg', 2), ('/mnt/data/29092025/05/38/image_29092025_05_38_36_30835.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:42:26.437426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/41/image_29092025_05_42_06_30765.jpg', 2), ('/mnt/data/29092025/05/41/image_29092025_05_41_35_29228.jpg', 2), ('/mnt/data/29092025/05/40/image_29092025_05_41_06_30597.jpg', 2), ('/mnt/data/29092025/05/40/image_29092025_05_40_35_30376.jpg', 2), ('/mnt/data/29092025/05/39/image_29092025_05_40_05_29382.jpg', 2), ('/mnt/data/29092025/05/39/image_29092025_05_39_35_30376.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:43:38.578972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:44:50.737416 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:46:02.426392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', 2), ('/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', 2), ('/mnt/data/29092025/05/43/image_29092025_05_43_35_30643.jpg', 2), ('/mnt/data/29092025/05/42/image_29092025_05_43_05_29424.jpg', 2), ('/mnt/data/29092025/05/42/image_29092025_05_42_35_29482.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:47:14.257283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/46/image_29092025_05_47_05_29368.jpg', 2), ('/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:48:26.377919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/47/image_29092025_05_48_05_29202.jpg', 2), ('/mnt/data/29092025/05/47/image_29092025_05_47_36_30549.jpg', 2), ('/mnt/data/29092025/05/46/image_29092025_05_47_05_29368.jpg', 2), ('/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:49:38.518832 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:50:50.675945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:52:02.426086 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/50/image_29092025_05_51_05_29862.jpg', 2), ('/mnt/data/29092025/05/50/image_29092025_05_50_35_29519.jpg', 2), ('/mnt/data/29092025/05/49/image_29092025_05_50_06_30525.jpg', 2), ('/mnt/data/29092025/05/49/image_29092025_05_49_35_30509.jpg', 2), ('/mnt/data/29092025/05/48/image_29092025_05_49_05_29276.jpg', 2), ('/mnt/data/29092025/05/48/image_29092025_05_48_35_30431.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:53:14.103219 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/52/image_29092025_05_53_05_29283.jpg', 2), ('/mnt/data/29092025/05/52/image_29092025_05_52_36_30434.jpg', 2), ('/mnt/data/29092025/05/51/image_29092025_05_52_05_30456.jpg', 2), ('/mnt/data/29092025/05/51/image_29092025_05_51_35_29858.jpg', 2), ('/mnt/data/29092025/05/50/image_29092025_05_51_05_29862.jpg', 2), ('/mnt/data/29092025/05/50/image_29092025_05_50_35_29519.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:54:26.246499 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/53/image_29092025_05_54_06_30398.jpg', 2), ('/mnt/data/29092025/05/53/image_29092025_05_53_35_30297.jpg', 2), ('/mnt/data/29092025/05/52/image_29092025_05_53_05_29283.jpg', 2), ('/mnt/data/29092025/05/52/image_29092025_05_52_36_30434.jpg', 2), ('/mnt/data/29092025/05/51/image_29092025_05_52_05_30456.jpg', 2), ('/mnt/data/29092025/05/51/image_29092025_05_51_35_29858.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:55:38.413948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 05:56:50.564149 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 05:59:03.190072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/05/57/image_29092025_05_58_05_29291.jpg', 2), ('/mnt/data/29092025/05/57/image_29092025_05_57_35_30412.jpg', 2), ('/mnt/data/29092025/05/56/image_29092025_05_57_05_30520.jpg', 2), ('/mnt/data/29092025/05/56/image_29092025_05_56_35_29542.jpg', 2), ('/mnt/data/29092025/05/55/image_29092025_05_56_05_29882.jpg', 2), ('/mnt/data/29092025/05/55/image_29092025_05_55_35_29602.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:00:14.685109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/59/image_29092025_06_00_05_29989.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_05_59_35_29459.jpg', 2), ('/mnt/data/29092025/05/58/image_29092025_05_59_05_29481.jpg', 2), ('/mnt/data/29092025/05/58/image_29092025_05_58_36_30886.jpg', 2), ('/mnt/data/29092025/05/57/image_29092025_05_58_05_29291.jpg', 2), ('/mnt/data/29092025/05/57/image_29092025_05_57_35_30412.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:01:26.798850 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/00/image_29092025_06_01_05_29724.jpg', 2), ('/mnt/data/29092025/06/00/image_29092025_06_00_35_30659.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_06_00_05_29989.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_05_59_35_29459.jpg', 2), ('/mnt/data/29092025/05/58/image_29092025_05_59_05_29481.jpg', 2), ('/mnt/data/29092025/05/58/image_29092025_05_58_36_30886.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:02:37.932527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:03:50.087599 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:05:03.067340 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/03/image_29092025_06_04_06_30466.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_03_35_30404.jpg', 2), ('/mnt/data/29092025/06/02/image_29092025_06_03_05_29469.jpg', 2), ('/mnt/data/29092025/06/02/image_29092025_06_02_35_30676.jpg', 2), ('/mnt/data/29092025/06/01/image_29092025_06_02_05_29872.jpg', 2), ('/mnt/data/29092025/06/01/image_29092025_06_01_35_29786.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:06:14.508350 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/05/image_29092025_06_06_05_29775.jpg', 2), ('/mnt/data/29092025/06/05/image_29092025_06_05_35_29581.jpg', 2), ('/mnt/data/29092025/06/04/image_29092025_06_05_05_30449.jpg', 2), ('/mnt/data/29092025/06/04/image_29092025_06_04_35_29341.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_04_06_30466.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_03_35_30404.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:07:26.649360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/06/image_29092025_06_07_05_29427.jpg', 2), ('/mnt/data/29092025/06/06/image_29092025_06_06_35_30599.jpg', 2), ('/mnt/data/29092025/06/05/image_29092025_06_06_05_29775.jpg', 2), ('/mnt/data/29092025/06/05/image_29092025_06_05_35_29581.jpg', 2), ('/mnt/data/29092025/06/04/image_29092025_06_05_05_30449.jpg', 2), ('/mnt/data/29092025/06/04/image_29092025_06_04_35_29341.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:08:38.776495 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:09:49.964998 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:11:02.811987 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/09/image_29092025_06_10_05_30431.jpg', 2), ('/mnt/data/29092025/06/09/image_29092025_06_09_35_29451.jpg', 2), ('/mnt/data/29092025/06/08/image_29092025_06_09_06_30457.jpg', 2), ('/mnt/data/29092025/06/08/image_29092025_06_08_35_30510.jpg', 2), ('/mnt/data/29092025/06/07/image_29092025_06_08_05_29931.jpg', 2), ('/mnt/data/29092025/06/07/image_29092025_06_07_35_29833.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:12:14.384645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/11/image_29092025_06_12_05_30786.jpg', 2), ('/mnt/data/29092025/06/11/image_29092025_06_11_35_29267.jpg', 2), ('/mnt/data/29092025/06/10/image_29092025_06_11_05_30541.jpg', 2), ('/mnt/data/29092025/06/10/image_29092025_06_10_35_29288.jpg', 2), ('/mnt/data/29092025/06/09/image_29092025_06_10_05_30431.jpg', 2), ('/mnt/data/29092025/06/09/image_29092025_06_09_35_29451.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:13:26.518432 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/12/image_29092025_06_13_06_30798.jpg', 2), ('/mnt/data/29092025/06/12/image_29092025_06_12_35_29480.jpg', 2), ('/mnt/data/29092025/06/11/image_29092025_06_12_05_30786.jpg', 2), ('/mnt/data/29092025/06/11/image_29092025_06_11_35_29267.jpg', 2), ('/mnt/data/29092025/06/10/image_29092025_06_11_05_30541.jpg', 2), ('/mnt/data/29092025/06/10/image_29092025_06_10_35_29288.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:14:38.707804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:15:49.815076 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:17:02.689666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', 2), ('/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', 2), ('/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', 2), ('/mnt/data/29092025/06/13/image_29092025_06_13_35_29605.jpg', 2), ('/mnt/data/29092025/06/12/image_29092025_06_13_06_30798.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:18:14.259754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/17/image_29092025_06_18_05_30131.jpg', 2), ('/mnt/data/29092025/06/17/image_29092025_06_17_35_29603.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:19:26.389348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/18/image_29092025_06_19_06_30995.jpg', 2), ('/mnt/data/29092025/06/18/image_29092025_06_18_35_29385.jpg', 2), ('/mnt/data/29092025/06/17/image_29092025_06_18_05_30131.jpg', 2), ('/mnt/data/29092025/06/17/image_29092025_06_17_35_29603.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:20:38.555328 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:21:26.697457 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/20/image_29092025_06_21_06_30515.jpg', 2), ('/mnt/data/29092025/06/20/image_29092025_06_20_35_29655.jpg', 2), ('/mnt/data/29092025/06/19/image_29092025_06_20_05_30087.jpg', 2), ('/mnt/data/29092025/06/19/image_29092025_06_19_35_29667.jpg', 2), ('/mnt/data/29092025/06/18/image_29092025_06_19_06_30995.jpg', 2), ('/mnt/data/29092025/06/18/image_29092025_06_18_35_29385.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:22:37.817169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:23:49.976937 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:25:02.778765 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/23/image_29092025_06_23_35_30455.jpg', 2), ('/mnt/data/29092025/06/22/image_29092025_06_23_05_28890.jpg', 2), ('/mnt/data/29092025/06/21/image_29092025_06_21_35_29473.jpg', 2), ('/mnt/data/29092025/06/20/image_29092025_06_21_06_30515.jpg', 2), ('/mnt/data/29092025/06/20/image_29092025_06_20_35_29655.jpg', 2), ('/mnt/data/29092025/06/19/image_29092025_06_20_05_30087.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:26:14.436065 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/25/image_29092025_06_26_05_29603.jpg', 2), ('/mnt/data/29092025/06/25/image_29092025_06_25_36_30413.jpg', 2), ('/mnt/data/29092025/06/24/image_29092025_06_25_05_30704.jpg', 2), ('/mnt/data/29092025/06/23/image_29092025_06_24_05_29876.jpg', 2), ('/mnt/data/29092025/06/23/image_29092025_06_23_35_30455.jpg', 2), ('/mnt/data/29092025/06/22/image_29092025_06_23_05_28890.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:27:26.563236 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:29:02.825047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', 2), ('/mnt/data/29092025/06/27/image_29092025_06_27_35_29581.jpg', 2), ('/mnt/data/29092025/06/26/image_29092025_06_27_06_30777.jpg', 2), ('/mnt/data/29092025/06/26/image_29092025_06_26_35_29675.jpg', 2), ('/mnt/data/29092025/06/25/image_29092025_06_26_05_29603.jpg', 2), ('/mnt/data/29092025/06/25/image_29092025_06_25_36_30413.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:30:14.158913 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', 2), ('/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', 2), ('/mnt/data/29092025/06/27/image_29092025_06_27_35_29581.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:31:26.357530 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/30/image_29092025_06_31_05_30468.jpg', 2), ('/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:32:38.414361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:33:50.550426 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:35:02.675870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/33/image_29092025_06_34_05_29637.jpg', 2), ('/mnt/data/29092025/06/33/image_29092025_06_33_35_30564.jpg', 2), ('/mnt/data/29092025/06/32/image_29092025_06_33_05_29245.jpg', 2), ('/mnt/data/29092025/06/32/image_29092025_06_32_35_30418.jpg', 2), ('/mnt/data/29092025/06/31/image_29092025_06_32_05_30354.jpg', 2), ('/mnt/data/29092025/06/31/image_29092025_06_31_35_29158.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:36:14.014024 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/35/image_29092025_06_36_05_29469.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_35_35_30400.jpg', 2), ('/mnt/data/29092025/06/34/image_29092025_06_35_05_29299.jpg', 2), ('/mnt/data/29092025/06/34/image_29092025_06_34_36_30857.jpg', 2), ('/mnt/data/29092025/06/33/image_29092025_06_34_05_29637.jpg', 2), ('/mnt/data/29092025/06/33/image_29092025_06_33_35_30564.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:37:26.132297 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', 2), ('/mnt/data/29092025/06/36/image_29092025_06_36_35_30294.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_36_05_29469.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_35_35_30400.jpg', 2), ('/mnt/data/29092025/06/34/image_29092025_06_35_05_29299.jpg', 2), ('/mnt/data/29092025/06/34/image_29092025_06_34_36_30857.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:38:14.280640 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/37/image_29092025_06_38_05_29972.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_37_35_30700.jpg', 2), ('/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', 2), ('/mnt/data/29092025/06/36/image_29092025_06_36_35_30294.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_36_05_29469.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_35_35_30400.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:39:26.468050 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/38/image_29092025_06_39_06_30835.jpg', 2), ('/mnt/data/29092025/06/38/image_29092025_06_38_35_29560.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_38_05_29972.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_37_35_30700.jpg', 2), ('/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', 2), ('/mnt/data/29092025/06/36/image_29092025_06_36_35_30294.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:40:38.613632 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:41:50.741723 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:43:02.733395 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/41/image_29092025_06_42_04_29500.jpg', 2), ('/mnt/data/29092025/06/41/image_29092025_06_41_35_30492.jpg', 2), ('/mnt/data/29092025/06/40/image_29092025_06_41_05_29399.jpg', 2), ('/mnt/data/29092025/06/40/image_29092025_06_40_35_30435.jpg', 2), ('/mnt/data/29092025/06/39/image_29092025_06_40_05_29517.jpg', 2), ('/mnt/data/29092025/06/39/image_29092025_06_39_35_29535.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:44:14.182290 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/43/image_29092025_06_44_05_29679.jpg', 2), ('/mnt/data/29092025/06/43/image_29092025_06_43_35_29373.jpg', 2), ('/mnt/data/29092025/06/42/image_29092025_06_43_06_30640.jpg', 2), ('/mnt/data/29092025/06/42/image_29092025_06_42_35_30370.jpg', 2), ('/mnt/data/29092025/06/41/image_29092025_06_42_04_29500.jpg', 2), ('/mnt/data/29092025/06/41/image_29092025_06_41_35_30492.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:45:26.387117 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/44/image_29092025_06_45_06_30340.jpg', 2), ('/mnt/data/29092025/06/44/image_29092025_06_44_35_30741.jpg', 2), ('/mnt/data/29092025/06/43/image_29092025_06_44_05_29679.jpg', 2), ('/mnt/data/29092025/06/43/image_29092025_06_43_35_29373.jpg', 2), ('/mnt/data/29092025/06/42/image_29092025_06_43_06_30640.jpg', 2), ('/mnt/data/29092025/06/42/image_29092025_06_42_35_30370.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:46:38.494278 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:47:50.608583 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:49:02.798254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/47/image_29092025_06_48_05_30433.jpg', 2), ('/mnt/data/29092025/06/47/image_29092025_06_47_35_29206.jpg', 2), ('/mnt/data/29092025/06/46/image_29092025_06_47_06_30596.jpg', 2), ('/mnt/data/29092025/06/46/image_29092025_06_46_35_30411.jpg', 2), ('/mnt/data/29092025/06/45/image_29092025_06_46_05_29507.jpg', 2), ('/mnt/data/29092025/06/45/image_29092025_06_45_35_29351.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:50:14.057461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/49/image_29092025_06_50_05_29612.jpg', 2), ('/mnt/data/29092025/06/49/image_29092025_06_49_35_30411.jpg', 2), ('/mnt/data/29092025/06/48/image_29092025_06_49_05_29425.jpg', 2), ('/mnt/data/29092025/06/48/image_29092025_06_48_36_30390.jpg', 2), ('/mnt/data/29092025/06/47/image_29092025_06_48_05_30433.jpg', 2), ('/mnt/data/29092025/06/47/image_29092025_06_47_35_29206.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:51:26.133366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/50/image_29092025_06_50_35_30447.jpg', 2), ('/mnt/data/29092025/06/49/image_29092025_06_50_05_29612.jpg', 2), ('/mnt/data/29092025/06/49/image_29092025_06_49_35_30411.jpg', 2), ('/mnt/data/29092025/06/48/image_29092025_06_49_05_29425.jpg', 2), ('/mnt/data/29092025/06/48/image_29092025_06_48_36_30390.jpg', 2), ('/mnt/data/29092025/06/47/image_29092025_06_48_05_30433.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:52:38.271064 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:53:50.425454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:55:03.850075 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/53/image_29092025_06_53_35_29725.jpg', 2), ('/mnt/data/29092025/06/52/image_29092025_06_52_35_30821.jpg', 2), ('/mnt/data/29092025/06/50/image_29092025_06_51_05_29243.jpg', 2), ('/mnt/data/29092025/06/50/image_29092025_06_50_35_30447.jpg', 2), ('/mnt/data/29092025/06/49/image_29092025_06_50_05_29612.jpg', 2), ('/mnt/data/29092025/06/49/image_29092025_06_49_35_30411.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:56:13.889489 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/55/image_29092025_06_56_06_31006.jpg', 2), ('/mnt/data/29092025/06/53/image_29092025_06_54_05_29620.jpg', 2), ('/mnt/data/29092025/06/53/image_29092025_06_53_35_29725.jpg', 2), ('/mnt/data/29092025/06/52/image_29092025_06_52_35_30821.jpg', 2), ('/mnt/data/29092025/06/50/image_29092025_06_51_05_29243.jpg', 2), ('/mnt/data/29092025/06/50/image_29092025_06_50_35_30447.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 06:57:25.996096 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 06:59:02.648434 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/06/57/image_29092025_06_58_05_29324.jpg', 2), ('/mnt/data/29092025/06/57/image_29092025_06_57_36_30344.jpg', 2), ('/mnt/data/29092025/06/56/image_29092025_06_57_05_30419.jpg', 2), ('/mnt/data/29092025/06/56/image_29092025_06_56_35_29271.jpg', 2), ('/mnt/data/29092025/06/55/image_29092025_06_56_06_31006.jpg', 2), ('/mnt/data/29092025/06/53/image_29092025_06_54_05_29620.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:00:14.029332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/59/image_29092025_07_00_05_29859.jpg', 2), ('/mnt/data/29092025/06/59/image_29092025_06_59_35_30713.jpg', 2), ('/mnt/data/29092025/06/58/image_29092025_06_59_05_29541.jpg', 2), ('/mnt/data/29092025/06/58/image_29092025_06_58_35_30252.jpg', 2), ('/mnt/data/29092025/06/57/image_29092025_06_58_05_29324.jpg', 2), ('/mnt/data/29092025/06/57/image_29092025_06_57_36_30344.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:01:26.166572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/00/image_29092025_07_01_05_29724.jpg', 2), ('/mnt/data/29092025/07/00/image_29092025_07_00_35_29651.jpg', 2), ('/mnt/data/29092025/06/59/image_29092025_07_00_05_29859.jpg', 2), ('/mnt/data/29092025/06/59/image_29092025_06_59_35_30713.jpg', 2), ('/mnt/data/29092025/06/58/image_29092025_06_59_05_29541.jpg', 2), ('/mnt/data/29092025/06/58/image_29092025_06_58_35_30252.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:02:38.337854 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:03:50.492229 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:05:03.428280 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/03/image_29092025_07_04_05_29389.jpg', 2), ('/mnt/data/29092025/07/03/image_29092025_07_03_35_30414.jpg', 2), ('/mnt/data/29092025/07/02/image_29092025_07_03_05_29316.jpg', 2), ('/mnt/data/29092025/07/02/image_29092025_07_02_36_30424.jpg', 2), ('/mnt/data/29092025/07/01/image_29092025_07_02_05_29533.jpg', 2), ('/mnt/data/29092025/07/01/image_29092025_07_01_36_30857.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:06:13.895959 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/05/image_29092025_07_06_05_29686.jpg', 2), ('/mnt/data/29092025/07/05/image_29092025_07_05_35_30790.jpg', 2), ('/mnt/data/29092025/07/04/image_29092025_07_05_05_29795.jpg', 2), ('/mnt/data/29092025/07/04/image_29092025_07_04_35_30232.jpg', 2), ('/mnt/data/29092025/07/03/image_29092025_07_04_05_29389.jpg', 2), ('/mnt/data/29092025/07/03/image_29092025_07_03_35_30414.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:07:26.126690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/06/image_29092025_07_07_05_29866.jpg', 2), ('/mnt/data/29092025/07/06/image_29092025_07_06_35_29848.jpg', 2), ('/mnt/data/29092025/07/05/image_29092025_07_06_05_29686.jpg', 2), ('/mnt/data/29092025/07/05/image_29092025_07_05_35_30790.jpg', 2), ('/mnt/data/29092025/07/04/image_29092025_07_05_05_29795.jpg', 2), ('/mnt/data/29092025/07/04/image_29092025_07_04_35_30232.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:08:38.299231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:09:50.509667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:11:03.404038 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/09/image_29092025_07_10_05_29374.jpg', 2), ('/mnt/data/29092025/07/09/image_29092025_07_09_35_30345.jpg', 2), ('/mnt/data/29092025/07/08/image_29092025_07_09_05_29170.jpg', 2), ('/mnt/data/29092025/07/08/image_29092025_07_08_36_30278.jpg', 2), ('/mnt/data/29092025/07/07/image_29092025_07_08_05_29700.jpg', 2), ('/mnt/data/29092025/07/07/image_29092025_07_07_36_30831.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:12:13.998721 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/11/image_29092025_07_12_06_30644.jpg', 2), ('/mnt/data/29092025/07/11/image_29092025_07_11_35_29231.jpg', 2), ('/mnt/data/29092025/07/10/image_29092025_07_11_06_30672.jpg', 2), ('/mnt/data/29092025/07/10/image_29092025_07_10_35_30448.jpg', 2), ('/mnt/data/29092025/07/09/image_29092025_07_10_05_29374.jpg', 2), ('/mnt/data/29092025/07/09/image_29092025_07_09_35_30345.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:13:26.099054 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/12/image_29092025_07_13_05_30462.jpg', 2), ('/mnt/data/29092025/07/12/image_29092025_07_12_35_29266.jpg', 2), ('/mnt/data/29092025/07/11/image_29092025_07_12_06_30644.jpg', 2), ('/mnt/data/29092025/07/11/image_29092025_07_11_35_29231.jpg', 2), ('/mnt/data/29092025/07/10/image_29092025_07_11_06_30672.jpg', 2), ('/mnt/data/29092025/07/10/image_29092025_07_10_35_30448.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:14:38.256355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:15:50.384768 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:17:03.808687 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/15/image_29092025_07_16_05_29427.jpg', 2), ('/mnt/data/29092025/07/15/image_29092025_07_15_35_30413.jpg', 2), ('/mnt/data/29092025/07/14/image_29092025_07_15_05_29151.jpg', 2), ('/mnt/data/29092025/07/14/image_29092025_07_14_36_30421.jpg', 2), ('/mnt/data/29092025/07/13/image_29092025_07_14_05_29474.jpg', 2), ('/mnt/data/29092025/07/13/image_29092025_07_13_36_30335.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:18:13.866273 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/17/image_29092025_07_18_05_30673.jpg', 2), ('/mnt/data/29092025/07/17/image_29092025_07_17_35_29113.jpg', 2), ('/mnt/data/29092025/07/16/image_29092025_07_17_06_30631.jpg', 2), ('/mnt/data/29092025/07/16/image_29092025_07_16_35_30504.jpg', 2), ('/mnt/data/29092025/07/15/image_29092025_07_16_05_29427.jpg', 2), ('/mnt/data/29092025/07/15/image_29092025_07_15_35_30413.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:19:25.947805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/18/image_29092025_07_19_05_30426.jpg', 2), ('/mnt/data/29092025/07/18/image_29092025_07_18_35_29286.jpg', 2), ('/mnt/data/29092025/07/17/image_29092025_07_18_05_30673.jpg', 2), ('/mnt/data/29092025/07/17/image_29092025_07_17_35_29113.jpg', 2), ('/mnt/data/29092025/07/16/image_29092025_07_17_06_30631.jpg', 2), ('/mnt/data/29092025/07/16/image_29092025_07_16_35_30504.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:20:38.104061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:21:50.261171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:23:03.227323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/21/image_29092025_07_22_06_29830.jpg', 2), ('/mnt/data/29092025/07/21/image_29092025_07_21_36_30573.jpg', 2), ('/mnt/data/29092025/07/20/image_29092025_07_21_05_29442.jpg', 2), ('/mnt/data/29092025/07/20/image_29092025_07_20_36_30754.jpg', 2), ('/mnt/data/29092025/07/19/image_29092025_07_20_05_29379.jpg', 2), ('/mnt/data/29092025/07/19/image_29092025_07_19_35_30360.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:24:14.709155 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/23/image_29092025_07_24_05_29470.jpg', 2), ('/mnt/data/29092025/07/23/image_29092025_07_23_35_30546.jpg', 2), ('/mnt/data/29092025/07/22/image_29092025_07_23_05_29582.jpg', 2), ('/mnt/data/29092025/07/22/image_29092025_07_22_35_29697.jpg', 2), ('/mnt/data/29092025/07/21/image_29092025_07_22_06_29830.jpg', 2), ('/mnt/data/29092025/07/21/image_29092025_07_21_36_30573.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:25:25.888197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/24/image_29092025_07_25_05_29526.jpg', 2), ('/mnt/data/29092025/07/24/image_29092025_07_24_35_30512.jpg', 2), ('/mnt/data/29092025/07/23/image_29092025_07_24_05_29470.jpg', 2), ('/mnt/data/29092025/07/23/image_29092025_07_23_35_30546.jpg', 2), ('/mnt/data/29092025/07/22/image_29092025_07_23_05_29582.jpg', 2), ('/mnt/data/29092025/07/22/image_29092025_07_22_35_29697.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:26:38.044505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:27:50.177866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:29:03.351085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/26/image_29092025_07_27_05_29729.jpg', 2), ('/mnt/data/29092025/07/26/image_29092025_07_26_36_30914.jpg', 2), ('/mnt/data/29092025/07/25/image_29092025_07_26_05_29359.jpg', 2), ('/mnt/data/29092025/07/25/image_29092025_07_25_35_30424.jpg', 2), ('/mnt/data/29092025/07/24/image_29092025_07_25_05_29526.jpg', 2), ('/mnt/data/29092025/07/24/image_29092025_07_24_35_30512.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:30:14.419309 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/29/image_29092025_07_30_05_29968.jpg', 2), ('/mnt/data/29092025/07/29/image_29092025_07_29_35_29302.jpg', 2), ('/mnt/data/29092025/07/28/image_29092025_07_29_05_30810.jpg', 2), ('/mnt/data/29092025/07/27/image_29092025_07_28_05_30551.jpg', 2), ('/mnt/data/29092025/07/27/image_29092025_07_27_35_29260.jpg', 2), ('/mnt/data/29092025/07/26/image_29092025_07_27_05_29729.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:31:26.568939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/30/image_29092025_07_31_05_29724.jpg', 2), ('/mnt/data/29092025/07/30/image_29092025_07_30_35_30803.jpg', 2), ('/mnt/data/29092025/07/29/image_29092025_07_30_05_29968.jpg', 2), ('/mnt/data/29092025/07/29/image_29092025_07_29_35_29302.jpg', 2), ('/mnt/data/29092025/07/28/image_29092025_07_29_05_30810.jpg', 2), ('/mnt/data/29092025/07/27/image_29092025_07_28_05_30551.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:32:38.782955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:33:49.882248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:35:03.195754 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/33/image_29092025_07_34_05_30131.jpg', 2), ('/mnt/data/29092025/07/33/image_29092025_07_33_35_29626.jpg', 2), ('/mnt/data/29092025/07/32/image_29092025_07_33_05_29831.jpg', 2), ('/mnt/data/29092025/07/32/image_29092025_07_32_36_30842.jpg', 2), ('/mnt/data/29092025/07/31/image_29092025_07_32_05_29881.jpg', 2), ('/mnt/data/29092025/07/31/image_29092025_07_31_35_29755.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:36:14.391590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/35/image_29092025_07_36_05_30664.jpg', 2), ('/mnt/data/29092025/07/35/image_29092025_07_35_35_29293.jpg', 2), ('/mnt/data/29092025/07/34/image_29092025_07_35_05_30563.jpg', 2), ('/mnt/data/29092025/07/34/image_29092025_07_34_35_29561.jpg', 2), ('/mnt/data/29092025/07/33/image_29092025_07_34_05_30131.jpg', 2), ('/mnt/data/29092025/07/33/image_29092025_07_33_35_29626.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:37:26.519049 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/36/image_29092025_07_37_05_30595.jpg', 2), ('/mnt/data/29092025/07/36/image_29092025_07_36_35_29318.jpg', 2), ('/mnt/data/29092025/07/35/image_29092025_07_36_05_30664.jpg', 2), ('/mnt/data/29092025/07/35/image_29092025_07_35_35_29293.jpg', 2), ('/mnt/data/29092025/07/34/image_29092025_07_35_05_30563.jpg', 2), ('/mnt/data/29092025/07/34/image_29092025_07_34_35_29561.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:38:38.696965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:39:49.833148 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:41:02.954817 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/39/image_29092025_07_40_05_29712.jpg', 2), ('/mnt/data/29092025/07/39/image_29092025_07_39_35_30750.jpg', 2), ('/mnt/data/29092025/07/38/image_29092025_07_39_05_29696.jpg', 2), ('/mnt/data/29092025/07/38/image_29092025_07_38_35_29453.jpg', 2), ('/mnt/data/29092025/07/37/image_29092025_07_38_06_30877.jpg', 2), ('/mnt/data/29092025/07/37/image_29092025_07_37_35_29491.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:42:14.271100 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/41/image_29092025_07_42_05_29214.jpg', 2), ('/mnt/data/29092025/07/41/image_29092025_07_41_35_30326.jpg', 2), ('/mnt/data/29092025/07/40/image_29092025_07_41_05_29310.jpg', 2), ('/mnt/data/29092025/07/40/image_29092025_07_40_36_30462.jpg', 2), ('/mnt/data/29092025/07/39/image_29092025_07_40_05_29712.jpg', 2), ('/mnt/data/29092025/07/39/image_29092025_07_39_35_30750.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:43:26.403190 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2), ('/mnt/data/29092025/07/41/image_29092025_07_42_05_29214.jpg', 2), ('/mnt/data/29092025/07/41/image_29092025_07_41_35_30326.jpg', 2), ('/mnt/data/29092025/07/40/image_29092025_07_41_05_29310.jpg', 2), ('/mnt/data/29092025/07/40/image_29092025_07_40_36_30462.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:44:38.581627 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:45:50.697965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:47:02.844511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:48:14.169200 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:49:26.365366 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:50:38.580160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:51:50.696958 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:53:02.593241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:54:14.263136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:55:26.330622 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:56:38.580529 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:57:50.741896 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 07:59:03.867563 debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 286, 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 : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 07:59:22.926965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_44_05_29703.jpg', 2), ('/mnt/data/29092025/07/43/image_29092025_07_43_35_29542.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_43_05_30583.jpg', 2), ('/mnt/data/29092025/07/42/image_29092025_07_42_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:00:25.791535 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/07/59/image_29092025_08_00_05_29542.jpg', 2), ('/mnt/data/29092025/07/59/image_29092025_07_59_35_30541.jpg', 2), ('/mnt/data/29092025/07/58/image_29092025_07_59_05_29619.jpg', 2), ('/mnt/data/29092025/07/45/image_29092025_07_45_35_30447.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_45_05_29324.jpg', 2), ('/mnt/data/29092025/07/44/image_29092025_07_44_36_30842.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:01:37.972179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:02:50.083165 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:04:03.100002 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/02/image_29092025_08_03_05_29960.jpg', 2), ('/mnt/data/29092025/08/02/image_29092025_08_02_35_29820.jpg', 2), ('/mnt/data/29092025/08/01/image_29092025_08_02_06_29965.jpg', 2), ('/mnt/data/29092025/08/01/image_29092025_08_01_36_30991.jpg', 2), ('/mnt/data/29092025/08/00/image_29092025_08_01_05_29563.jpg', 2), ('/mnt/data/29092025/08/00/image_29092025_08_00_35_30297.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:05:14.570814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/04/image_29092025_08_05_05_29355.jpg', 2), ('/mnt/data/29092025/08/04/image_29092025_08_04_35_30395.jpg', 2), ('/mnt/data/29092025/08/03/image_29092025_08_04_05_29827.jpg', 2), ('/mnt/data/29092025/08/03/image_29092025_08_03_35_29635.jpg', 2), ('/mnt/data/29092025/08/02/image_29092025_08_03_05_29960.jpg', 2), ('/mnt/data/29092025/08/02/image_29092025_08_02_35_29820.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:06:26.753464 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/05/image_29092025_08_06_06_30515.jpg', 2), ('/mnt/data/29092025/08/05/image_29092025_08_05_35_30452.jpg', 2), ('/mnt/data/29092025/08/04/image_29092025_08_05_05_29355.jpg', 2), ('/mnt/data/29092025/08/04/image_29092025_08_04_35_30395.jpg', 2), ('/mnt/data/29092025/08/03/image_29092025_08_04_05_29827.jpg', 2), ('/mnt/data/29092025/08/03/image_29092025_08_03_35_29635.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:07:37.878483 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:08:50.031386 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:10:02.914774 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/08/image_29092025_08_09_05_30452.jpg', 2), ('/mnt/data/29092025/08/08/image_29092025_08_08_35_30435.jpg', 2), ('/mnt/data/29092025/08/07/image_29092025_08_08_05_29374.jpg', 2), ('/mnt/data/29092025/08/07/image_29092025_08_07_35_30557.jpg', 2), ('/mnt/data/29092025/08/06/image_29092025_08_07_05_29833.jpg', 2), ('/mnt/data/29092025/08/06/image_29092025_08_06_35_29187.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:11:14.484630 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/10/image_29092025_08_11_05_29437.jpg', 2), ('/mnt/data/29092025/08/10/image_29092025_08_10_36_30324.jpg', 2), ('/mnt/data/29092025/08/09/image_29092025_08_10_05_30628.jpg', 2), ('/mnt/data/29092025/08/09/image_29092025_08_09_35_29143.jpg', 2), ('/mnt/data/29092025/08/08/image_29092025_08_09_05_30452.jpg', 2), ('/mnt/data/29092025/08/08/image_29092025_08_08_35_30435.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:12:26.628903 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/11/image_29092025_08_12_05_29327.jpg', 2), ('/mnt/data/29092025/08/11/image_29092025_08_11_35_30353.jpg', 2), ('/mnt/data/29092025/08/10/image_29092025_08_11_05_29437.jpg', 2), ('/mnt/data/29092025/08/10/image_29092025_08_10_36_30324.jpg', 2), ('/mnt/data/29092025/08/09/image_29092025_08_10_05_30628.jpg', 2), ('/mnt/data/29092025/08/09/image_29092025_08_09_35_29143.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:13:38.797348 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:14:50.045820 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:16:02.995536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/14/image_29092025_08_15_06_30443.jpg', 2), ('/mnt/data/29092025/08/14/image_29092025_08_14_35_30298.jpg', 2), ('/mnt/data/29092025/08/13/image_29092025_08_14_05_29632.jpg', 2), ('/mnt/data/29092025/08/13/image_29092025_08_13_35_30304.jpg', 2), ('/mnt/data/29092025/08/12/image_29092025_08_13_05_29636.jpg', 2), ('/mnt/data/29092025/08/12/image_29092025_08_12_35_30661.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:17:14.535620 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/16/image_29092025_08_17_06_31004.jpg', 2), ('/mnt/data/29092025/08/16/image_29092025_08_16_35_29134.jpg', 2), ('/mnt/data/29092025/08/15/image_29092025_08_16_05_30708.jpg', 2), ('/mnt/data/29092025/08/15/image_29092025_08_15_35_29144.jpg', 2), ('/mnt/data/29092025/08/14/image_29092025_08_15_06_30443.jpg', 2), ('/mnt/data/29092025/08/14/image_29092025_08_14_35_30298.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:18:26.430866 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/17/image_29092025_08_18_05_29536.jpg', 2), ('/mnt/data/29092025/08/17/image_29092025_08_17_35_29668.jpg', 2), ('/mnt/data/29092025/08/16/image_29092025_08_17_06_31004.jpg', 2), ('/mnt/data/29092025/08/16/image_29092025_08_16_35_29134.jpg', 2), ('/mnt/data/29092025/08/15/image_29092025_08_16_05_30708.jpg', 2), ('/mnt/data/29092025/08/15/image_29092025_08_15_35_29144.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:19:38.556819 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:20:50.674044 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:22:02.574619 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/20/image_29092025_08_21_05_29718.jpg', 2), ('/mnt/data/29092025/08/20/image_29092025_08_20_35_29139.jpg', 2), ('/mnt/data/29092025/08/19/image_29092025_08_20_06_30696.jpg', 2), ('/mnt/data/29092025/08/19/image_29092025_08_19_35_29280.jpg', 2), ('/mnt/data/29092025/08/18/image_29092025_08_19_06_30491.jpg', 2), ('/mnt/data/29092025/08/18/image_29092025_08_18_35_30347.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:23:14.097138 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/22/image_29092025_08_23_05_30111.jpg', 2), ('/mnt/data/29092025/08/22/image_29092025_08_22_35_29715.jpg', 2), ('/mnt/data/29092025/08/21/image_29092025_08_22_05_29832.jpg', 2), ('/mnt/data/29092025/08/21/image_29092025_08_21_35_30962.jpg', 2), ('/mnt/data/29092025/08/20/image_29092025_08_21_05_29718.jpg', 2), ('/mnt/data/29092025/08/20/image_29092025_08_20_35_29139.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:24:26.296946 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/23/image_29092025_08_24_05_29656.jpg', 2), ('/mnt/data/29092025/08/23/image_29092025_08_23_36_30536.jpg', 2), ('/mnt/data/29092025/08/22/image_29092025_08_23_05_30111.jpg', 2), ('/mnt/data/29092025/08/22/image_29092025_08_22_35_29715.jpg', 2), ('/mnt/data/29092025/08/21/image_29092025_08_22_05_29832.jpg', 2), ('/mnt/data/29092025/08/21/image_29092025_08_21_35_30962.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:25:38.389194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:26:50.622414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:28:26.105180 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/24/image_29092025_08_24_35_29243.jpg', 2), ('/mnt/data/29092025/08/23/image_29092025_08_24_05_29656.jpg', 2), ('/mnt/data/29092025/08/23/image_29092025_08_23_36_30536.jpg', 2), ('/mnt/data/29092025/08/22/image_29092025_08_23_05_30111.jpg', 2), ('/mnt/data/29092025/08/22/image_29092025_08_22_35_29715.jpg', 2), ('/mnt/data/29092025/08/21/image_29092025_08_22_05_29832.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:29:38.328001 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:30:50.382448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:32:03.356781 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/32/image_29092025_08_32_35_29311.jpg', 2), ('/mnt/data/29092025/08/30/image_29092025_08_31_06_30478.jpg', 2), ('/mnt/data/29092025/08/30/image_29092025_08_30_35_30322.jpg', 2), ('/mnt/data/29092025/08/29/image_29092025_08_30_05_29356.jpg', 2), ('/mnt/data/29092025/08/29/image_29092025_08_29_35_30344.jpg', 2), ('/mnt/data/29092025/08/28/image_29092025_08_29_05_30510.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:33:13.962464 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/32/image_29092025_08_33_05_29666.jpg', 2), ('/mnt/data/29092025/08/32/image_29092025_08_32_35_29311.jpg', 2), ('/mnt/data/29092025/08/31/image_29092025_08_32_06_30695.jpg', 2), ('/mnt/data/29092025/08/31/image_29092025_08_31_35_29318.jpg', 2), ('/mnt/data/29092025/08/30/image_29092025_08_31_06_30478.jpg', 2), ('/mnt/data/29092025/08/30/image_29092025_08_30_35_30322.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:34:25.999710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/33/image_29092025_08_33_35_30412.jpg', 2), ('/mnt/data/29092025/08/32/image_29092025_08_33_05_29666.jpg', 2), ('/mnt/data/29092025/08/32/image_29092025_08_32_35_29311.jpg', 2), ('/mnt/data/29092025/08/31/image_29092025_08_32_06_30695.jpg', 2), ('/mnt/data/29092025/08/31/image_29092025_08_31_35_29318.jpg', 2), ('/mnt/data/29092025/08/30/image_29092025_08_31_06_30478.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:35:38.246405 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:36:50.319254 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:38:03.426871 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/36/image_29092025_08_37_06_30757.jpg', 2), ('/mnt/data/29092025/08/33/image_29092025_08_34_06_30569.jpg', 2), ('/mnt/data/29092025/08/33/image_29092025_08_33_35_30412.jpg', 2), ('/mnt/data/29092025/08/32/image_29092025_08_33_05_29666.jpg', 2), ('/mnt/data/29092025/08/32/image_29092025_08_32_35_29311.jpg', 2), ('/mnt/data/29092025/08/31/image_29092025_08_32_06_30695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:39:14.753423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/38/image_29092025_08_39_05_30549.jpg', 2), ('/mnt/data/29092025/08/38/image_29092025_08_38_35_29170.jpg', 2), ('/mnt/data/29092025/08/37/image_29092025_08_38_05_30743.jpg', 2), ('/mnt/data/29092025/08/37/image_29092025_08_37_35_29230.jpg', 2), ('/mnt/data/29092025/08/36/image_29092025_08_37_06_30757.jpg', 2), ('/mnt/data/29092025/08/33/image_29092025_08_34_06_30569.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:40:25.966164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/39/image_29092025_08_40_06_31101.jpg', 2), ('/mnt/data/29092025/08/39/image_29092025_08_39_35_29378.jpg', 2), ('/mnt/data/29092025/08/38/image_29092025_08_39_05_30549.jpg', 2), ('/mnt/data/29092025/08/38/image_29092025_08_38_35_29170.jpg', 2), ('/mnt/data/29092025/08/37/image_29092025_08_38_05_30743.jpg', 2), ('/mnt/data/29092025/08/37/image_29092025_08_37_35_29230.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:41:38.025791 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:42:50.346211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:44:03.031127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/41/image_29092025_08_42_05_30634.jpg', 2), ('/mnt/data/29092025/08/41/image_29092025_08_41_34_29368.jpg', 2), ('/mnt/data/29092025/08/40/image_29092025_08_41_05_29658.jpg', 2), ('/mnt/data/29092025/08/40/image_29092025_08_40_35_29772.jpg', 2), ('/mnt/data/29092025/08/39/image_29092025_08_40_06_31101.jpg', 2), ('/mnt/data/29092025/08/39/image_29092025_08_39_35_29378.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:45:14.580745 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/44/image_29092025_08_45_05_30939.jpg', 2), ('/mnt/data/29092025/08/44/image_29092025_08_44_35_29351.jpg', 2), ('/mnt/data/29092025/08/43/image_29092025_08_44_05_30513.jpg', 2), ('/mnt/data/29092025/08/43/image_29092025_08_43_35_29271.jpg', 2), ('/mnt/data/29092025/08/41/image_29092025_08_42_05_30634.jpg', 2), ('/mnt/data/29092025/08/41/image_29092025_08_41_34_29368.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:46:26.732163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/45/image_29092025_08_46_06_30630.jpg', 2), ('/mnt/data/29092025/08/45/image_29092025_08_45_35_29525.jpg', 2), ('/mnt/data/29092025/08/44/image_29092025_08_45_05_30939.jpg', 2), ('/mnt/data/29092025/08/44/image_29092025_08_44_35_29351.jpg', 2), ('/mnt/data/29092025/08/43/image_29092025_08_44_05_30513.jpg', 2), ('/mnt/data/29092025/08/43/image_29092025_08_43_35_29271.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:47:13.852214 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/46/image_29092025_08_47_05_29657.jpg', 2), ('/mnt/data/29092025/08/46/image_29092025_08_46_35_29468.jpg', 2), ('/mnt/data/29092025/08/45/image_29092025_08_46_06_30630.jpg', 2), ('/mnt/data/29092025/08/45/image_29092025_08_45_35_29525.jpg', 2), ('/mnt/data/29092025/08/44/image_29092025_08_45_05_30939.jpg', 2), ('/mnt/data/29092025/08/44/image_29092025_08_44_35_29351.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:48:26.020833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/47/image_29092025_08_48_05_29662.jpg', 2), ('/mnt/data/29092025/08/47/image_29092025_08_47_36_30798.jpg', 2), ('/mnt/data/29092025/08/46/image_29092025_08_47_05_29657.jpg', 2), ('/mnt/data/29092025/08/46/image_29092025_08_46_35_29468.jpg', 2), ('/mnt/data/29092025/08/45/image_29092025_08_46_06_30630.jpg', 2), ('/mnt/data/29092025/08/45/image_29092025_08_45_35_29525.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:49:38.260150 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:50:50.339623 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:52:03.097633 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/50/image_29092025_08_51_05_30616.jpg', 2), ('/mnt/data/29092025/08/50/image_29092025_08_50_35_29376.jpg', 2), ('/mnt/data/29092025/08/49/image_29092025_08_50_05_29844.jpg', 2), ('/mnt/data/29092025/08/49/image_29092025_08_49_36_30876.jpg', 2), ('/mnt/data/29092025/08/48/image_29092025_08_49_05_29901.jpg', 2), ('/mnt/data/29092025/08/48/image_29092025_08_48_35_29664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:53:14.816735 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/52/image_29092025_08_53_05_30496.jpg', 2), ('/mnt/data/29092025/08/52/image_29092025_08_52_35_29494.jpg', 2), ('/mnt/data/29092025/08/51/image_29092025_08_52_05_30560.jpg', 2), ('/mnt/data/29092025/08/51/image_29092025_08_51_35_29142.jpg', 2), ('/mnt/data/29092025/08/50/image_29092025_08_51_05_30616.jpg', 2), ('/mnt/data/29092025/08/50/image_29092025_08_50_35_29376.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:54:25.982443 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/53/image_29092025_08_54_05_30003.jpg', 2), ('/mnt/data/29092025/08/53/image_29092025_08_53_35_29593.jpg', 2), ('/mnt/data/29092025/08/52/image_29092025_08_53_05_30496.jpg', 2), ('/mnt/data/29092025/08/52/image_29092025_08_52_35_29494.jpg', 2), ('/mnt/data/29092025/08/51/image_29092025_08_52_05_30560.jpg', 2), ('/mnt/data/29092025/08/51/image_29092025_08_51_35_29142.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:55:38.145772 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 08:56:50.374706 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 08:59:03.010677 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/08/56/image_29092025_08_57_05_30623.jpg', 2), ('/mnt/data/29092025/08/56/image_29092025_08_56_35_29419.jpg', 2), ('/mnt/data/29092025/08/55/image_29092025_08_56_05_29956.jpg', 2), ('/mnt/data/29092025/08/55/image_29092025_08_55_35_29904.jpg', 2), ('/mnt/data/29092025/08/54/image_29092025_08_55_05_29899.jpg', 2), ('/mnt/data/29092025/08/54/image_29092025_08_54_35_30643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:00:14.285963 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/08/59/image_29092025_09_00_05_30190.jpg', 2), ('/mnt/data/29092025/08/59/image_29092025_08_59_35_29768.jpg', 2), ('/mnt/data/29092025/08/58/image_29092025_08_59_05_29584.jpg', 2), ('/mnt/data/29092025/08/58/image_29092025_08_58_35_30478.jpg', 2), ('/mnt/data/29092025/08/57/image_29092025_08_58_05_29272.jpg', 2), ('/mnt/data/29092025/08/57/image_29092025_08_57_36_30349.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:01:26.422529 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/00/image_29092025_09_01_05_30919.jpg', 2), ('/mnt/data/29092025/09/00/image_29092025_09_00_35_29727.jpg', 2), ('/mnt/data/29092025/08/59/image_29092025_09_00_05_30190.jpg', 2), ('/mnt/data/29092025/08/59/image_29092025_08_59_35_29768.jpg', 2), ('/mnt/data/29092025/08/58/image_29092025_08_59_05_29584.jpg', 2), ('/mnt/data/29092025/08/58/image_29092025_08_58_35_30478.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:02:38.551626 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:03:50.698752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:05:02.964047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/03/image_29092025_09_04_05_30543.jpg', 2), ('/mnt/data/29092025/09/03/image_29092025_09_03_35_29177.jpg', 2), ('/mnt/data/29092025/09/02/image_29092025_09_03_05_30712.jpg', 2), ('/mnt/data/29092025/09/02/image_29092025_09_02_35_29134.jpg', 2), ('/mnt/data/29092025/09/01/image_29092025_09_02_06_30922.jpg', 2), ('/mnt/data/29092025/09/01/image_29092025_09_01_35_29167.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:06:14.121898 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/05/image_29092025_09_06_05_29725.jpg', 2), ('/mnt/data/29092025/09/05/image_29092025_09_05_35_29789.jpg', 2), ('/mnt/data/29092025/09/04/image_29092025_09_05_06_30861.jpg', 2), ('/mnt/data/29092025/09/04/image_29092025_09_04_35_29517.jpg', 2), ('/mnt/data/29092025/09/03/image_29092025_09_04_05_30543.jpg', 2), ('/mnt/data/29092025/09/03/image_29092025_09_03_35_29177.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:07:26.264830 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/06/image_29092025_09_07_05_29546.jpg', 2), ('/mnt/data/29092025/09/06/image_29092025_09_06_36_30555.jpg', 2), ('/mnt/data/29092025/09/05/image_29092025_09_06_05_29725.jpg', 2), ('/mnt/data/29092025/09/05/image_29092025_09_05_35_29789.jpg', 2), ('/mnt/data/29092025/09/04/image_29092025_09_05_06_30861.jpg', 2), ('/mnt/data/29092025/09/04/image_29092025_09_04_35_29517.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:08:38.436256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:09:50.693230 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:11:02.887895 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/09/image_29092025_09_10_05_29803.jpg', 2), ('/mnt/data/29092025/09/09/image_29092025_09_09_35_30789.jpg', 2), ('/mnt/data/29092025/09/08/image_29092025_09_09_05_29261.jpg', 2), ('/mnt/data/29092025/09/08/image_29092025_09_08_35_30320.jpg', 2), ('/mnt/data/29092025/09/07/image_29092025_09_08_05_29484.jpg', 2), ('/mnt/data/29092025/09/07/image_29092025_09_07_36_30358.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:12:14.127241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/11/image_29092025_09_12_05_30052.jpg', 2), ('/mnt/data/29092025/09/11/image_29092025_09_11_35_29782.jpg', 2), ('/mnt/data/29092025/09/10/image_29092025_09_11_05_29911.jpg', 2), ('/mnt/data/29092025/09/10/image_29092025_09_10_35_29749.jpg', 2), ('/mnt/data/29092025/09/09/image_29092025_09_10_05_29803.jpg', 2), ('/mnt/data/29092025/09/09/image_29092025_09_09_35_30789.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:13:26.217943 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/12/image_29092025_09_13_05_30431.jpg', 2), ('/mnt/data/29092025/09/12/image_29092025_09_12_35_30381.jpg', 2), ('/mnt/data/29092025/09/11/image_29092025_09_12_05_30052.jpg', 2), ('/mnt/data/29092025/09/11/image_29092025_09_11_35_29782.jpg', 2), ('/mnt/data/29092025/09/10/image_29092025_09_11_05_29911.jpg', 2), ('/mnt/data/29092025/09/10/image_29092025_09_10_35_29749.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:14:38.380752 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:15:50.529461 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:17:02.510596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/15/image_29092025_09_16_05_29857.jpg', 2), ('/mnt/data/29092025/09/15/image_29092025_09_15_35_29478.jpg', 2), ('/mnt/data/29092025/09/14/image_29092025_09_15_05_30649.jpg', 2), ('/mnt/data/29092025/09/14/image_29092025_09_14_35_29239.jpg', 2), ('/mnt/data/29092025/09/13/image_29092025_09_14_05_30607.jpg', 2), ('/mnt/data/29092025/09/13/image_29092025_09_13_35_29230.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:18:14.037059 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2), ('/mnt/data/29092025/09/16/image_29092025_09_17_05_29562.jpg', 2), ('/mnt/data/29092025/09/16/image_29092025_09_16_35_30627.jpg', 2), ('/mnt/data/29092025/09/15/image_29092025_09_16_05_29857.jpg', 2), ('/mnt/data/29092025/09/15/image_29092025_09_15_35_29478.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:19:26.140023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2), ('/mnt/data/29092025/09/16/image_29092025_09_17_05_29562.jpg', 2), ('/mnt/data/29092025/09/16/image_29092025_09_16_35_30627.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:20:38.270472 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:21:50.430175 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:23:03.500923 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:24:13.891574 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:25:26.044902 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:26:38.232527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:27:50.385589 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:28:03.141613 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:29:14.223891 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:30:26.358388 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_18_35_29320.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_18_05_29870.jpg', 2), ('/mnt/data/29092025/09/17/image_29092025_09_17_36_30797.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:31:38.527707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:32:50.675728 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:34:02.583401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_32_35_30549.jpg', 2), ('/mnt/data/29092025/09/20/image_29092025_09_20_35_29370.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_20_05_30125.jpg', 2), ('/mnt/data/29092025/09/19/image_29092025_09_19_35_29807.jpg', 2), ('/mnt/data/29092025/09/18/image_29092025_09_19_05_30652.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:35:14.157004 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_32_35_30549.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:36:26.230553 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_32_35_30549.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:37:38.396339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:38:50.519712 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:40:02.603822 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:41:13.939796 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:42:26.105939 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:43:38.219925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:44:50.461539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:46:03.504683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:47:13.882543 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:48:26.007969 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:49:38.165617 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:50:50.395972 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:52:03.340191 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:53:14.788603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:54:25.941825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/38/image_29092025_09_39_05_29324.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_35_05_30549.jpg', 2), ('/mnt/data/29092025/09/34/image_29092025_09_34_35_29863.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_34_05_30138.jpg', 2), ('/mnt/data/29092025/09/33/image_29092025_09_33_35_30314.jpg', 2), ('/mnt/data/29092025/09/32/image_29092025_09_33_05_29320.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:55:38.122153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 09:56:49.953948 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 09:59:02.950572 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/09/57/image_29092025_09_58_05_29740.jpg', 2), ('/mnt/data/29092025/09/57/image_29092025_09_57_35_29742.jpg', 2), ('/mnt/data/29092025/09/56/image_29092025_09_57_06_30827.jpg', 2), ('/mnt/data/29092025/09/56/image_29092025_09_56_35_29463.jpg', 2), ('/mnt/data/29092025/09/55/image_29092025_09_56_05_30503.jpg', 2), ('/mnt/data/29092025/09/55/image_29092025_09_55_35_30308.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:00:14.138749 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/09/59/image_29092025_10_00_05_29900.jpg', 2), ('/mnt/data/29092025/09/59/image_29092025_09_59_35_29654.jpg', 2), ('/mnt/data/29092025/09/58/image_29092025_09_59_06_31005.jpg', 2), ('/mnt/data/29092025/09/58/image_29092025_09_58_35_29529.jpg', 2), ('/mnt/data/29092025/09/57/image_29092025_09_58_05_29740.jpg', 2), ('/mnt/data/29092025/09/57/image_29092025_09_57_35_29742.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:01:26.417953 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/00/image_29092025_10_01_05_29492.jpg', 2), ('/mnt/data/29092025/10/00/image_29092025_10_00_36_30299.jpg', 2), ('/mnt/data/29092025/09/59/image_29092025_10_00_05_29900.jpg', 2), ('/mnt/data/29092025/09/59/image_29092025_09_59_35_29654.jpg', 2), ('/mnt/data/29092025/09/58/image_29092025_09_59_06_31005.jpg', 2), ('/mnt/data/29092025/09/58/image_29092025_09_58_35_29529.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:02:38.540682 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:03:50.696925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:04:37.826541 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:05:50.007414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:07:03.291889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/05/image_29092025_10_06_05_30594.jpg', 2), ('/mnt/data/29092025/10/05/image_29092025_10_05_35_29482.jpg', 2), ('/mnt/data/29092025/10/04/image_29092025_10_05_05_29731.jpg', 2), ('/mnt/data/29092025/10/04/image_29092025_10_04_36_30842.jpg', 2), ('/mnt/data/29092025/10/03/image_29092025_10_04_05_29870.jpg', 2), ('/mnt/data/29092025/10/03/image_29092025_10_03_35_30293.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:08:14.446010 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/07/image_29092025_10_08_06_30862.jpg', 2), ('/mnt/data/29092025/10/07/image_29092025_10_07_35_29342.jpg', 2), ('/mnt/data/29092025/10/06/image_29092025_10_07_05_30798.jpg', 2), ('/mnt/data/29092025/10/06/image_29092025_10_06_35_29186.jpg', 2), ('/mnt/data/29092025/10/05/image_29092025_10_06_05_30594.jpg', 2), ('/mnt/data/29092025/10/05/image_29092025_10_05_35_29482.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:09:26.630909 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/08/image_29092025_10_09_05_29736.jpg', 2), ('/mnt/data/29092025/10/08/image_29092025_10_08_35_29358.jpg', 2), ('/mnt/data/29092025/10/07/image_29092025_10_08_06_30862.jpg', 2), ('/mnt/data/29092025/10/07/image_29092025_10_07_35_29342.jpg', 2), ('/mnt/data/29092025/10/06/image_29092025_10_07_05_30798.jpg', 2), ('/mnt/data/29092025/10/06/image_29092025_10_06_35_29186.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:10:37.869588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:11:50.044454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:13:03.079346 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/12/image_29092025_10_12_35_29460.jpg', 2), ('/mnt/data/29092025/10/11/image_29092025_10_11_35_29689.jpg', 2), ('/mnt/data/29092025/10/10/image_29092025_10_11_06_30794.jpg', 2), ('/mnt/data/29092025/10/10/image_29092025_10_10_35_29697.jpg', 2), ('/mnt/data/29092025/10/09/image_29092025_10_10_05_29590.jpg', 2), ('/mnt/data/29092025/10/09/image_29092025_10_09_35_30793.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:14:14.512437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/13/image_29092025_10_14_05_30604.jpg', 2), ('/mnt/data/29092025/10/13/image_29092025_10_13_35_29213.jpg', 2), ('/mnt/data/29092025/10/12/image_29092025_10_13_05_30759.jpg', 2), ('/mnt/data/29092025/10/12/image_29092025_10_12_35_29460.jpg', 2), ('/mnt/data/29092025/10/11/image_29092025_10_12_05_30034.jpg', 2), ('/mnt/data/29092025/10/11/image_29092025_10_11_35_29689.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:15:26.629925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/14/image_29092025_10_15_05_29130.jpg', 2), ('/mnt/data/29092025/10/14/image_29092025_10_14_36_30276.jpg', 2), ('/mnt/data/29092025/10/13/image_29092025_10_14_05_30604.jpg', 2), ('/mnt/data/29092025/10/13/image_29092025_10_13_35_29213.jpg', 2), ('/mnt/data/29092025/10/12/image_29092025_10_13_05_30759.jpg', 2), ('/mnt/data/29092025/10/12/image_29092025_10_12_35_29460.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:16:38.800169 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:17:50.049231 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:19:03.438993 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/17/image_29092025_10_18_05_29228.jpg', 2), ('/mnt/data/29092025/10/17/image_29092025_10_17_35_30399.jpg', 2), ('/mnt/data/29092025/10/16/image_29092025_10_17_05_29686.jpg', 2), ('/mnt/data/29092025/10/16/image_29092025_10_16_35_29528.jpg', 2), ('/mnt/data/29092025/10/15/image_29092025_10_16_06_30670.jpg', 2), ('/mnt/data/29092025/10/15/image_29092025_10_15_35_30333.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:20:14.517739 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/19/image_29092025_10_20_06_29996.jpg', 2), ('/mnt/data/29092025/10/19/image_29092025_10_19_36_30249.jpg', 2), ('/mnt/data/29092025/10/18/image_29092025_10_19_05_30348.jpg', 2), ('/mnt/data/29092025/10/18/image_29092025_10_18_35_30441.jpg', 2), ('/mnt/data/29092025/10/17/image_29092025_10_18_05_29228.jpg', 2), ('/mnt/data/29092025/10/17/image_29092025_10_17_35_30399.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:21:26.590197 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/20/image_29092025_10_21_05_29636.jpg', 2), ('/mnt/data/29092025/10/20/image_29092025_10_20_35_29627.jpg', 2), ('/mnt/data/29092025/10/19/image_29092025_10_20_06_29996.jpg', 2), ('/mnt/data/29092025/10/19/image_29092025_10_19_36_30249.jpg', 2), ('/mnt/data/29092025/10/18/image_29092025_10_19_05_30348.jpg', 2), ('/mnt/data/29092025/10/18/image_29092025_10_18_35_30441.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:22:37.886119 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:23:49.968317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:25:03.193925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/23/image_29092025_10_24_05_30383.jpg', 2), ('/mnt/data/29092025/10/23/image_29092025_10_23_35_30322.jpg', 2), ('/mnt/data/29092025/10/22/image_29092025_10_23_05_29527.jpg', 2), ('/mnt/data/29092025/10/22/image_29092025_10_22_35_30661.jpg', 2), ('/mnt/data/29092025/10/21/image_29092025_10_22_05_28911.jpg', 2), ('/mnt/data/29092025/10/21/image_29092025_10_21_36_30885.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:26:14.411667 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/25/image_29092025_10_26_05_29851.jpg', 2), ('/mnt/data/29092025/10/25/image_29092025_10_25_35_29392.jpg', 2), ('/mnt/data/29092025/10/24/image_29092025_10_25_05_30633.jpg', 2), ('/mnt/data/29092025/10/24/image_29092025_10_24_35_29312.jpg', 2), ('/mnt/data/29092025/10/23/image_29092025_10_24_05_30383.jpg', 2), ('/mnt/data/29092025/10/23/image_29092025_10_23_35_30322.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:27:26.627500 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:28:03.279238 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/26/image_29092025_10_27_05_29930.jpg', 2), ('/mnt/data/29092025/10/26/image_29092025_10_26_35_30737.jpg', 2), ('/mnt/data/29092025/10/25/image_29092025_10_26_05_29851.jpg', 2), ('/mnt/data/29092025/10/25/image_29092025_10_25_35_29392.jpg', 2), ('/mnt/data/29092025/10/24/image_29092025_10_25_05_30633.jpg', 2), ('/mnt/data/29092025/10/24/image_29092025_10_24_35_29312.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:29:13.904092 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/28/image_29092025_10_29_05_29386.jpg', 2), ('/mnt/data/29092025/10/28/image_29092025_10_28_35_30609.jpg', 2), ('/mnt/data/29092025/10/27/image_29092025_10_28_05_29616.jpg', 2), ('/mnt/data/29092025/10/27/image_29092025_10_27_35_29670.jpg', 2), ('/mnt/data/29092025/10/26/image_29092025_10_27_05_29930.jpg', 2), ('/mnt/data/29092025/10/26/image_29092025_10_26_35_30737.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:30:26.037171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/29/image_29092025_10_30_05_30420.jpg', 2), ('/mnt/data/29092025/10/29/image_29092025_10_29_35_30326.jpg', 2), ('/mnt/data/29092025/10/28/image_29092025_10_29_05_29386.jpg', 2), ('/mnt/data/29092025/10/28/image_29092025_10_28_35_30609.jpg', 2), ('/mnt/data/29092025/10/27/image_29092025_10_28_05_29616.jpg', 2), ('/mnt/data/29092025/10/27/image_29092025_10_27_35_29670.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:31:38.172978 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:32:50.386109 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:34:03.519901 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/32/image_29092025_10_33_06_30680.jpg', 2), ('/mnt/data/29092025/10/32/image_29092025_10_32_35_29665.jpg', 2), ('/mnt/data/29092025/10/31/image_29092025_10_32_05_29503.jpg', 2), ('/mnt/data/29092025/10/31/image_29092025_10_31_35_30383.jpg', 2), ('/mnt/data/29092025/10/30/image_29092025_10_31_05_30720.jpg', 2), ('/mnt/data/29092025/10/30/image_29092025_10_30_35_29165.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:35:13.914369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/34/image_29092025_10_35_05_30792.jpg', 2), ('/mnt/data/29092025/10/34/image_29092025_10_34_35_29663.jpg', 2), ('/mnt/data/29092025/10/33/image_29092025_10_34_05_29695.jpg', 2), ('/mnt/data/29092025/10/33/image_29092025_10_33_35_29799.jpg', 2), ('/mnt/data/29092025/10/32/image_29092025_10_33_06_30680.jpg', 2), ('/mnt/data/29092025/10/32/image_29092025_10_32_35_29665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:36:26.060314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/35/image_29092025_10_36_05_30520.jpg', 2), ('/mnt/data/29092025/10/35/image_29092025_10_35_35_29394.jpg', 2), ('/mnt/data/29092025/10/34/image_29092025_10_35_05_30792.jpg', 2), ('/mnt/data/29092025/10/34/image_29092025_10_34_35_29663.jpg', 2), ('/mnt/data/29092025/10/33/image_29092025_10_34_05_29695.jpg', 2), ('/mnt/data/29092025/10/33/image_29092025_10_33_35_29799.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:37:38.193208 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:38:50.379016 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:40:03.166368 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/38/image_29092025_10_39_05_29412.jpg', 2), ('/mnt/data/29092025/10/38/image_29092025_10_38_35_30397.jpg', 2), ('/mnt/data/29092025/10/37/image_29092025_10_38_05_29306.jpg', 2), ('/mnt/data/29092025/10/37/image_29092025_10_37_35_30258.jpg', 2), ('/mnt/data/29092025/10/36/image_29092025_10_37_05_30609.jpg', 2), ('/mnt/data/29092025/10/36/image_29092025_10_36_35_29191.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:41:13.796797 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/40/image_29092025_10_41_05_30515.jpg', 2), ('/mnt/data/29092025/10/40/image_29092025_10_40_35_29648.jpg', 2), ('/mnt/data/29092025/10/39/image_29092025_10_40_05_29703.jpg', 2), ('/mnt/data/29092025/10/39/image_29092025_10_39_36_30967.jpg', 2), ('/mnt/data/29092025/10/38/image_29092025_10_39_05_29412.jpg', 2), ('/mnt/data/29092025/10/38/image_29092025_10_38_35_30397.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:42:25.984770 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/41/image_29092025_10_42_05_29275.jpg', 2), ('/mnt/data/29092025/10/41/image_29092025_10_41_36_30195.jpg', 2), ('/mnt/data/29092025/10/40/image_29092025_10_41_05_30515.jpg', 2), ('/mnt/data/29092025/10/40/image_29092025_10_40_35_29648.jpg', 2), ('/mnt/data/29092025/10/39/image_29092025_10_40_05_29703.jpg', 2), ('/mnt/data/29092025/10/39/image_29092025_10_39_36_30967.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:43:38.181863 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:44:50.329085 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:46:03.221859 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/44/image_29092025_10_45_05_29557.jpg', 2), ('/mnt/data/29092025/10/44/image_29092025_10_44_35_30363.jpg', 2), ('/mnt/data/29092025/10/43/image_29092025_10_44_05_30500.jpg', 2), ('/mnt/data/29092025/10/43/image_29092025_10_43_35_29150.jpg', 2), ('/mnt/data/29092025/10/42/image_29092025_10_43_05_30349.jpg', 2), ('/mnt/data/29092025/10/42/image_29092025_10_42_35_30265.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:47:14.768129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/46/image_29092025_10_47_05_29272.jpg', 2), ('/mnt/data/29092025/10/46/image_29092025_10_46_36_30578.jpg', 2), ('/mnt/data/29092025/10/45/image_29092025_10_46_05_29501.jpg', 2), ('/mnt/data/29092025/10/45/image_29092025_10_45_35_30402.jpg', 2), ('/mnt/data/29092025/10/44/image_29092025_10_45_05_29557.jpg', 2), ('/mnt/data/29092025/10/44/image_29092025_10_44_35_30363.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:48:25.896855 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/47/image_29092025_10_48_05_29577.jpg', 2), ('/mnt/data/29092025/10/47/image_29092025_10_47_35_30388.jpg', 2), ('/mnt/data/29092025/10/46/image_29092025_10_47_05_29272.jpg', 2), ('/mnt/data/29092025/10/46/image_29092025_10_46_36_30578.jpg', 2), ('/mnt/data/29092025/10/45/image_29092025_10_46_05_29501.jpg', 2), ('/mnt/data/29092025/10/45/image_29092025_10_45_35_30402.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:49:38.165455 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:50:50.290164 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:52:03.095400 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/50/image_29092025_10_51_05_30773.jpg', 2), ('/mnt/data/29092025/10/50/image_29092025_10_50_35_29484.jpg', 2), ('/mnt/data/29092025/10/49/image_29092025_10_50_05_29617.jpg', 2), ('/mnt/data/29092025/10/49/image_29092025_10_49_35_30463.jpg', 2), ('/mnt/data/29092025/10/48/image_29092025_10_49_05_29662.jpg', 2), ('/mnt/data/29092025/10/48/image_29092025_10_48_35_30604.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:53:14.788889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/52/image_29092025_10_53_05_29828.jpg', 2), ('/mnt/data/29092025/10/52/image_29092025_10_52_35_30436.jpg', 2), ('/mnt/data/29092025/10/51/image_29092025_10_52_05_29718.jpg', 2), ('/mnt/data/29092025/10/51/image_29092025_10_51_35_29613.jpg', 2), ('/mnt/data/29092025/10/50/image_29092025_10_51_05_30773.jpg', 2), ('/mnt/data/29092025/10/50/image_29092025_10_50_35_29484.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:54:25.914836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/53/image_29092025_10_54_05_29972.jpg', 2), ('/mnt/data/29092025/10/53/image_29092025_10_53_35_29778.jpg', 2), ('/mnt/data/29092025/10/52/image_29092025_10_53_05_29828.jpg', 2), ('/mnt/data/29092025/10/52/image_29092025_10_52_35_30436.jpg', 2), ('/mnt/data/29092025/10/51/image_29092025_10_52_05_29718.jpg', 2), ('/mnt/data/29092025/10/51/image_29092025_10_51_35_29613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:55:38.086577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 10:56:50.260774 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 10:59:03.188437 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/10/57/image_29092025_10_58_05_29596.jpg', 2), ('/mnt/data/29092025/10/57/image_29092025_10_57_36_30006.jpg', 2), ('/mnt/data/29092025/10/56/image_29092025_10_57_06_30990.jpg', 2), ('/mnt/data/29092025/10/56/image_29092025_10_56_35_29123.jpg', 2), ('/mnt/data/29092025/10/55/image_29092025_10_56_05_30543.jpg', 2), ('/mnt/data/29092025/10/55/image_29092025_10_55_35_29219.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:00:14.496288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/10/59/image_29092025_11_00_06_30665.jpg', 2), ('/mnt/data/29092025/10/59/image_29092025_10_59_35_30312.jpg', 2), ('/mnt/data/29092025/10/58/image_29092025_10_59_05_29153.jpg', 2), ('/mnt/data/29092025/10/58/image_29092025_10_58_36_30418.jpg', 2), ('/mnt/data/29092025/10/57/image_29092025_10_58_05_29596.jpg', 2), ('/mnt/data/29092025/10/57/image_29092025_10_57_36_30006.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:01:26.647666 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/00/image_29092025_11_01_06_30860.jpg', 2), ('/mnt/data/29092025/11/00/image_29092025_11_00_35_29089.jpg', 2), ('/mnt/data/29092025/10/59/image_29092025_11_00_06_30665.jpg', 2), ('/mnt/data/29092025/10/59/image_29092025_10_59_35_30312.jpg', 2), ('/mnt/data/29092025/10/58/image_29092025_10_59_05_29153.jpg', 2), ('/mnt/data/29092025/10/58/image_29092025_10_58_36_30418.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:02:38.776347 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:03:49.922333 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:05:03.010592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/03/image_29092025_11_04_06_30565.jpg', 2), ('/mnt/data/29092025/11/03/image_29092025_11_03_35_30401.jpg', 2), ('/mnt/data/29092025/11/02/image_29092025_11_03_05_29137.jpg', 2), ('/mnt/data/29092025/11/02/image_29092025_11_02_35_30542.jpg', 2), ('/mnt/data/29092025/11/01/image_29092025_11_02_05_29971.jpg', 2), ('/mnt/data/29092025/11/01/image_29092025_11_01_35_29366.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:06:14.355272 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/05/image_29092025_11_06_05_29917.jpg', 2), ('/mnt/data/29092025/11/05/image_29092025_11_05_36_30973.jpg', 2), ('/mnt/data/29092025/11/04/image_29092025_11_05_05_29681.jpg', 2), ('/mnt/data/29092025/11/04/image_29092025_11_04_35_29299.jpg', 2), ('/mnt/data/29092025/11/03/image_29092025_11_04_06_30565.jpg', 2), ('/mnt/data/29092025/11/03/image_29092025_11_03_35_30401.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:07:26.502099 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/06/image_29092025_11_07_05_29638.jpg', 2), ('/mnt/data/29092025/11/06/image_29092025_11_06_35_29633.jpg', 2), ('/mnt/data/29092025/11/05/image_29092025_11_06_05_29917.jpg', 2), ('/mnt/data/29092025/11/05/image_29092025_11_05_36_30973.jpg', 2), ('/mnt/data/29092025/11/04/image_29092025_11_05_05_29681.jpg', 2), ('/mnt/data/29092025/11/04/image_29092025_11_04_35_29299.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:08:38.656448 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:09:49.829061 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:11:03.047194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/09/image_29092025_11_10_05_30726.jpg', 2), ('/mnt/data/29092025/11/09/image_29092025_11_09_35_29330.jpg', 2), ('/mnt/data/29092025/11/08/image_29092025_11_09_05_30319.jpg', 2), ('/mnt/data/29092025/11/08/image_29092025_11_08_35_30304.jpg', 2), ('/mnt/data/29092025/11/07/image_29092025_11_08_05_29954.jpg', 2), ('/mnt/data/29092025/11/07/image_29092025_11_07_35_29865.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:12:14.270870 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/11/image_29092025_11_12_05_29973.jpg', 2), ('/mnt/data/29092025/11/11/image_29092025_11_11_35_29781.jpg', 2), ('/mnt/data/29092025/11/10/image_29092025_11_11_05_30772.jpg', 2), ('/mnt/data/29092025/11/10/image_29092025_11_10_35_29321.jpg', 2), ('/mnt/data/29092025/11/09/image_29092025_11_10_05_30726.jpg', 2), ('/mnt/data/29092025/11/09/image_29092025_11_09_35_29330.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:13:26.383591 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/12/image_29092025_11_13_06_30935.jpg', 2), ('/mnt/data/29092025/11/12/image_29092025_11_12_35_29650.jpg', 2), ('/mnt/data/29092025/11/11/image_29092025_11_12_05_29973.jpg', 2), ('/mnt/data/29092025/11/11/image_29092025_11_11_35_29781.jpg', 2), ('/mnt/data/29092025/11/10/image_29092025_11_11_05_30772.jpg', 2), ('/mnt/data/29092025/11/10/image_29092025_11_10_35_29321.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:14:38.512514 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:15:50.645057 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 62 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:17:02.954260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/15/image_29092025_11_15_35_30520.jpg', 2), ('/mnt/data/29092025/11/14/image_29092025_11_15_05_29231.jpg', 2), ('/mnt/data/29092025/11/14/image_29092025_11_14_36_30419.jpg', 2), ('/mnt/data/29092025/11/13/image_29092025_11_14_05_29685.jpg', 2), ('/mnt/data/29092025/11/13/image_29092025_11_13_35_29775.jpg', 2), ('/mnt/data/29092025/11/12/image_29092025_11_13_06_30935.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:18:14.162989 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/17/image_29092025_11_18_06_30853.jpg', 2), ('/mnt/data/29092025/11/17/image_29092025_11_17_35_29583.jpg', 2), ('/mnt/data/29092025/11/16/image_29092025_11_17_05_29616.jpg', 2), ('/mnt/data/29092025/11/16/image_29092025_11_16_36_30605.jpg', 2), ('/mnt/data/29092025/11/15/image_29092025_11_15_35_30520.jpg', 2), ('/mnt/data/29092025/11/14/image_29092025_11_15_05_29231.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:19:26.308283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/18/image_29092025_11_19_05_29719.jpg', 2), ('/mnt/data/29092025/11/18/image_29092025_11_18_35_29723.jpg', 2), ('/mnt/data/29092025/11/17/image_29092025_11_18_06_30853.jpg', 2), ('/mnt/data/29092025/11/17/image_29092025_11_17_35_29583.jpg', 2), ('/mnt/data/29092025/11/16/image_29092025_11_17_05_29616.jpg', 2), ('/mnt/data/29092025/11/16/image_29092025_11_16_36_30605.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:20:38.546805 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 62 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:21:50.763008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:23:02.942424 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/21/image_29092025_11_22_05_30364.jpg', 2), ('/mnt/data/29092025/11/21/image_29092025_11_21_35_29299.jpg', 2), ('/mnt/data/29092025/11/20/image_29092025_11_21_05_30775.jpg', 2), ('/mnt/data/29092025/11/20/image_29092025_11_20_35_29136.jpg', 2), ('/mnt/data/29092025/11/19/image_29092025_11_20_05_30851.jpg', 2), ('/mnt/data/29092025/11/19/image_29092025_11_19_35_29586.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:24:14.199824 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/23/image_29092025_11_24_06_30711.jpg', 2), ('/mnt/data/29092025/11/23/image_29092025_11_23_35_30289.jpg', 2), ('/mnt/data/29092025/11/22/image_29092025_11_23_05_29244.jpg', 2), ('/mnt/data/29092025/11/22/image_29092025_11_22_35_30378.jpg', 2), ('/mnt/data/29092025/11/21/image_29092025_11_22_05_30364.jpg', 2), ('/mnt/data/29092025/11/21/image_29092025_11_21_35_29299.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:25:26.344369 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/24/image_29092025_11_25_05_30519.jpg', 2), ('/mnt/data/29092025/11/24/image_29092025_11_24_35_29302.jpg', 2), ('/mnt/data/29092025/11/23/image_29092025_11_24_06_30711.jpg', 2), ('/mnt/data/29092025/11/23/image_29092025_11_23_35_30289.jpg', 2), ('/mnt/data/29092025/11/22/image_29092025_11_23_05_29244.jpg', 2), ('/mnt/data/29092025/11/22/image_29092025_11_22_35_30378.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:26:38.588384 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:27:50.648908 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:28:03.308299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/26/image_29092025_11_27_05_30511.jpg', 2), ('/mnt/data/29092025/11/26/image_29092025_11_26_35_29029.jpg', 2), ('/mnt/data/29092025/11/25/image_29092025_11_26_05_30778.jpg', 2), ('/mnt/data/29092025/11/25/image_29092025_11_25_35_29332.jpg', 2), ('/mnt/data/29092025/11/24/image_29092025_11_25_05_30519.jpg', 2), ('/mnt/data/29092025/11/24/image_29092025_11_24_35_29302.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:29:13.964760 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/28/image_29092025_11_28_35_30417.jpg', 2), ('/mnt/data/29092025/11/27/image_29092025_11_28_05_29416.jpg', 2), ('/mnt/data/29092025/11/27/image_29092025_11_27_35_30282.jpg', 2), ('/mnt/data/29092025/11/26/image_29092025_11_27_05_30511.jpg', 2), ('/mnt/data/29092025/11/26/image_29092025_11_26_35_29029.jpg', 2), ('/mnt/data/29092025/11/25/image_29092025_11_26_05_30778.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:30:26.127676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/28/image_29092025_11_29_05_29394.jpg', 2), ('/mnt/data/29092025/11/28/image_29092025_11_28_35_30417.jpg', 2), ('/mnt/data/29092025/11/27/image_29092025_11_28_05_29416.jpg', 2), ('/mnt/data/29092025/11/27/image_29092025_11_27_35_30282.jpg', 2), ('/mnt/data/29092025/11/26/image_29092025_11_27_05_30511.jpg', 2), ('/mnt/data/29092025/11/26/image_29092025_11_26_35_29029.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:31:38.289008 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:32:50.508270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:34:02.681019 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/32/image_29092025_11_33_05_30499.jpg', 2), ('/mnt/data/29092025/11/32/image_29092025_11_32_35_29108.jpg', 2), ('/mnt/data/29092025/11/31/image_29092025_11_32_06_30592.jpg', 2), ('/mnt/data/29092025/11/31/image_29092025_11_31_35_29299.jpg', 2), ('/mnt/data/29092025/11/30/image_29092025_11_30_35_29339.jpg', 2), ('/mnt/data/29092025/11/28/image_29092025_11_29_05_29394.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:35:14.057171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/34/image_29092025_11_35_05_29630.jpg', 2), ('/mnt/data/29092025/11/34/image_29092025_11_34_35_30364.jpg', 2), ('/mnt/data/29092025/11/33/image_29092025_11_34_05_29356.jpg', 2), ('/mnt/data/29092025/11/33/image_29092025_11_33_36_30367.jpg', 2), ('/mnt/data/29092025/11/32/image_29092025_11_33_05_30499.jpg', 2), ('/mnt/data/29092025/11/32/image_29092025_11_32_35_29108.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:36:26.201003 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/35/image_29092025_11_36_05_29400.jpg', 2), ('/mnt/data/29092025/11/35/image_29092025_11_35_35_30316.jpg', 2), ('/mnt/data/29092025/11/34/image_29092025_11_35_05_29630.jpg', 2), ('/mnt/data/29092025/11/34/image_29092025_11_34_35_30364.jpg', 2), ('/mnt/data/29092025/11/33/image_29092025_11_34_05_29356.jpg', 2), ('/mnt/data/29092025/11/33/image_29092025_11_33_36_30367.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:37:38.334644 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:38:50.522925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:40:02.605329 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/38/image_29092025_11_39_06_30745.jpg', 2), ('/mnt/data/29092025/11/38/image_29092025_11_38_35_29277.jpg', 2), ('/mnt/data/29092025/11/37/image_29092025_11_38_06_30637.jpg', 2), ('/mnt/data/29092025/11/37/image_29092025_11_37_35_29354.jpg', 2), ('/mnt/data/29092025/11/36/image_29092025_11_37_06_30430.jpg', 2), ('/mnt/data/29092025/11/36/image_29092025_11_36_35_30608.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:41:14.057332 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/40/image_29092025_11_41_05_29487.jpg', 2), ('/mnt/data/29092025/11/40/image_29092025_11_40_35_30312.jpg', 2), ('/mnt/data/29092025/11/39/image_29092025_11_40_05_30273.jpg', 2), ('/mnt/data/29092025/11/39/image_29092025_11_39_35_29104.jpg', 2), ('/mnt/data/29092025/11/38/image_29092025_11_39_06_30745.jpg', 2), ('/mnt/data/29092025/11/38/image_29092025_11_38_35_29277.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:42:26.186702 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/41/image_29092025_11_42_06_30407.jpg', 2), ('/mnt/data/29092025/11/41/image_29092025_11_41_35_30398.jpg', 2), ('/mnt/data/29092025/11/40/image_29092025_11_41_05_29487.jpg', 2), ('/mnt/data/29092025/11/40/image_29092025_11_40_35_30312.jpg', 2), ('/mnt/data/29092025/11/39/image_29092025_11_40_05_30273.jpg', 2), ('/mnt/data/29092025/11/39/image_29092025_11_39_35_29104.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:43:38.403777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:44:50.640575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:46:02.563493 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_44_35_30307.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_44_05_29176.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_43_36_30352.jpg', 2), ('/mnt/data/29092025/11/42/image_29092025_11_43_05_30358.jpg', 2), ('/mnt/data/29092025/11/42/image_29092025_11_42_35_29169.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:47:14.069216 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_44_35_30307.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_44_05_29176.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_43_36_30352.jpg', 2), ('/mnt/data/29092025/11/42/image_29092025_11_43_05_30358.jpg', 2), ('/mnt/data/29092025/11/42/image_29092025_11_42_35_29169.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:48:26.188857 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_44_35_30307.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_44_05_29176.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_43_36_30352.jpg', 2), ('/mnt/data/29092025/11/42/image_29092025_11_43_05_30358.jpg', 2), ('/mnt/data/29092025/11/42/image_29092025_11_42_35_29169.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:49:38.327625 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:50:50.464386 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:52:03.551815 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/52/image_29092025_11_52_35_29445.jpg', 2), ('/mnt/data/29092025/11/45/image_29092025_11_45_35_29207.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_44_35_30307.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_44_05_29176.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_43_36_30352.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:53:13.957361 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/52/image_29092025_11_52_35_29445.jpg', 2), ('/mnt/data/29092025/11/45/image_29092025_11_45_35_29207.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_44_35_30307.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_44_05_29176.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_43_36_30352.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:54:26.147710 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/52/image_29092025_11_52_35_29445.jpg', 2), ('/mnt/data/29092025/11/45/image_29092025_11_45_35_29207.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_44_35_30307.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_44_05_29176.jpg', 2), ('/mnt/data/29092025/11/43/image_29092025_11_43_36_30352.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:55:38.320260 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 11:56:50.427873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 11:59:03.115511 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/11/57/image_29092025_11_58_05_30462.jpg', 2), ('/mnt/data/29092025/11/57/image_29092025_11_57_35_29168.jpg', 2), ('/mnt/data/29092025/11/52/image_29092025_11_52_35_29445.jpg', 2), ('/mnt/data/29092025/11/50/image_29092025_11_50_36_30584.jpg', 2), ('/mnt/data/29092025/11/45/image_29092025_11_45_35_29207.jpg', 2), ('/mnt/data/29092025/11/44/image_29092025_11_45_05_30360.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:00:14.498435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/11/59/image_29092025_12_00_06_30048.jpg', 2), ('/mnt/data/29092025/11/59/image_29092025_11_59_35_30697.jpg', 2), ('/mnt/data/29092025/11/58/image_29092025_11_59_05_29257.jpg', 2), ('/mnt/data/29092025/11/58/image_29092025_11_58_35_30295.jpg', 2), ('/mnt/data/29092025/11/57/image_29092025_11_58_05_30462.jpg', 2), ('/mnt/data/29092025/11/57/image_29092025_11_57_35_29168.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:01:26.651097 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/00/image_29092025_12_01_05_29668.jpg', 2), ('/mnt/data/29092025/12/00/image_29092025_12_00_35_29621.jpg', 2), ('/mnt/data/29092025/11/59/image_29092025_12_00_06_30048.jpg', 2), ('/mnt/data/29092025/11/59/image_29092025_11_59_35_30697.jpg', 2), ('/mnt/data/29092025/11/58/image_29092025_11_59_05_29257.jpg', 2), ('/mnt/data/29092025/11/58/image_29092025_11_58_35_30295.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:02:37.902312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:03:50.033639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:05:03.423955 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/03/image_29092025_12_04_05_29866.jpg', 2), ('/mnt/data/29092025/12/03/image_29092025_12_03_35_30568.jpg', 2), ('/mnt/data/29092025/12/02/image_29092025_12_03_05_29574.jpg', 2), ('/mnt/data/29092025/12/02/image_29092025_12_02_35_30654.jpg', 2), ('/mnt/data/29092025/12/01/image_29092025_12_02_05_29515.jpg', 2), ('/mnt/data/29092025/12/01/image_29092025_12_01_35_30331.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:06:14.475269 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/05/image_29092025_12_06_05_29917.jpg', 2), ('/mnt/data/29092025/12/05/image_29092025_12_05_35_29729.jpg', 2), ('/mnt/data/29092025/12/04/image_29092025_12_05_06_30854.jpg', 2), ('/mnt/data/29092025/12/04/image_29092025_12_04_35_29459.jpg', 2), ('/mnt/data/29092025/12/03/image_29092025_12_04_05_29866.jpg', 2), ('/mnt/data/29092025/12/03/image_29092025_12_03_35_30568.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:07:26.604564 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/06/image_29092025_12_07_05_29634.jpg', 2), ('/mnt/data/29092025/12/06/image_29092025_12_06_35_29623.jpg', 2), ('/mnt/data/29092025/12/05/image_29092025_12_06_05_29917.jpg', 2), ('/mnt/data/29092025/12/05/image_29092025_12_05_35_29729.jpg', 2), ('/mnt/data/29092025/12/04/image_29092025_12_05_06_30854.jpg', 2), ('/mnt/data/29092025/12/04/image_29092025_12_04_35_29459.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:08:38.769071 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:09:49.931777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:11:02.909657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/09/image_29092025_12_10_05_30561.jpg', 2), ('/mnt/data/29092025/12/09/image_29092025_12_09_35_30295.jpg', 2), ('/mnt/data/29092025/12/08/image_29092025_12_09_04_29323.jpg', 2), ('/mnt/data/29092025/12/08/image_29092025_12_08_35_30357.jpg', 2), ('/mnt/data/29092025/12/07/image_29092025_12_08_05_29462.jpg', 2), ('/mnt/data/29092025/12/07/image_29092025_12_07_35_30841.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:12:14.386776 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/11/image_29092025_12_12_05_29836.jpg', 2), ('/mnt/data/29092025/12/11/image_29092025_12_11_35_29609.jpg', 2), ('/mnt/data/29092025/12/10/image_29092025_12_11_05_29621.jpg', 2), ('/mnt/data/29092025/12/10/image_29092025_12_10_36_30219.jpg', 2), ('/mnt/data/29092025/12/09/image_29092025_12_10_05_30561.jpg', 2), ('/mnt/data/29092025/12/09/image_29092025_12_09_35_30295.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:13:26.528907 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/12/image_29092025_12_13_05_29203.jpg', 2), ('/mnt/data/29092025/12/12/image_29092025_12_12_36_30965.jpg', 2), ('/mnt/data/29092025/12/11/image_29092025_12_12_05_29836.jpg', 2), ('/mnt/data/29092025/12/11/image_29092025_12_11_35_29609.jpg', 2), ('/mnt/data/29092025/12/10/image_29092025_12_11_05_29621.jpg', 2), ('/mnt/data/29092025/12/10/image_29092025_12_10_36_30219.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:14:38.692267 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:15:49.835111 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:17:03.074527 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/15/image_29092025_12_16_05_29907.jpg', 2), ('/mnt/data/29092025/12/15/image_29092025_12_15_35_30269.jpg', 2), ('/mnt/data/29092025/12/14/image_29092025_12_15_05_30335.jpg', 2), ('/mnt/data/29092025/12/14/image_29092025_12_14_34_29086.jpg', 2), ('/mnt/data/29092025/12/13/image_29092025_12_14_05_30387.jpg', 2), ('/mnt/data/29092025/12/13/image_29092025_12_13_35_30212.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:18:14.313976 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/17/image_29092025_12_18_06_30616.jpg', 2), ('/mnt/data/29092025/12/17/image_29092025_12_17_35_30187.jpg', 2), ('/mnt/data/29092025/12/16/image_29092025_12_17_05_29105.jpg', 2), ('/mnt/data/29092025/12/16/image_29092025_12_16_36_30643.jpg', 2), ('/mnt/data/29092025/12/15/image_29092025_12_16_05_29907.jpg', 2), ('/mnt/data/29092025/12/15/image_29092025_12_15_35_30269.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:19:26.513146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/18/image_29092025_12_19_05_30422.jpg', 2), ('/mnt/data/29092025/12/18/image_29092025_12_18_35_29164.jpg', 2), ('/mnt/data/29092025/12/17/image_29092025_12_18_06_30616.jpg', 2), ('/mnt/data/29092025/12/17/image_29092025_12_17_35_30187.jpg', 2), ('/mnt/data/29092025/12/16/image_29092025_12_17_05_29105.jpg', 2), ('/mnt/data/29092025/12/16/image_29092025_12_16_36_30643.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:20:38.671381 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:21:50.735320 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:23:02.593201 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/21/image_29092025_12_22_05_29764.jpg', 2), ('/mnt/data/29092025/12/21/image_29092025_12_21_35_30599.jpg', 2), ('/mnt/data/29092025/12/20/image_29092025_12_21_05_29400.jpg', 2), ('/mnt/data/29092025/12/20/image_29092025_12_20_35_30578.jpg', 2), ('/mnt/data/29092025/12/19/image_29092025_12_20_05_29321.jpg', 2), ('/mnt/data/29092025/12/19/image_29092025_12_19_35_30278.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:24:14.241194 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/23/image_29092025_12_24_05_29283.jpg', 2), ('/mnt/data/29092025/12/23/image_29092025_12_23_35_30321.jpg', 2), ('/mnt/data/29092025/12/22/image_29092025_12_23_05_30632.jpg', 2), ('/mnt/data/29092025/12/22/image_29092025_12_22_35_29395.jpg', 2), ('/mnt/data/29092025/12/21/image_29092025_12_22_05_29764.jpg', 2), ('/mnt/data/29092025/12/21/image_29092025_12_21_35_30599.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:25:26.361176 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/24/image_29092025_12_25_05_29268.jpg', 2), ('/mnt/data/29092025/12/24/image_29092025_12_24_35_30608.jpg', 2), ('/mnt/data/29092025/12/23/image_29092025_12_24_05_29283.jpg', 2), ('/mnt/data/29092025/12/23/image_29092025_12_23_35_30321.jpg', 2), ('/mnt/data/29092025/12/22/image_29092025_12_23_05_30632.jpg', 2), ('/mnt/data/29092025/12/22/image_29092025_12_22_35_29395.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:26:38.567755 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:27:50.789382 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:29:03.566785 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/27/image_29092025_12_28_05_29564.jpg', 2), ('/mnt/data/29092025/12/27/image_29092025_12_27_36_30864.jpg', 2), ('/mnt/data/29092025/12/26/image_29092025_12_27_05_29619.jpg', 2), ('/mnt/data/29092025/12/26/image_29092025_12_26_35_29629.jpg', 2), ('/mnt/data/29092025/12/25/image_29092025_12_26_05_30002.jpg', 2), ('/mnt/data/29092025/12/25/image_29092025_12_25_35_30819.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:30:13.867889 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/29/image_29092025_12_30_05_29394.jpg', 2), ('/mnt/data/29092025/12/29/image_29092025_12_29_35_30328.jpg', 2), ('/mnt/data/29092025/12/28/image_29092025_12_29_05_30353.jpg', 2), ('/mnt/data/29092025/12/28/image_29092025_12_28_35_29457.jpg', 2), ('/mnt/data/29092025/12/27/image_29092025_12_28_05_29564.jpg', 2), ('/mnt/data/29092025/12/27/image_29092025_12_27_36_30864.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:31:25.941421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/30/image_29092025_12_31_05_30357.jpg', 2), ('/mnt/data/29092025/12/30/image_29092025_12_30_35_30324.jpg', 2), ('/mnt/data/29092025/12/29/image_29092025_12_30_05_29394.jpg', 2), ('/mnt/data/29092025/12/29/image_29092025_12_29_35_30328.jpg', 2), ('/mnt/data/29092025/12/28/image_29092025_12_29_05_30353.jpg', 2), ('/mnt/data/29092025/12/28/image_29092025_12_28_35_29457.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:32:38.113701 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:33:50.291153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:35:03.455129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/33/image_29092025_12_34_05_29732.jpg', 2), ('/mnt/data/29092025/12/33/image_29092025_12_33_35_29796.jpg', 2), ('/mnt/data/29092025/12/32/image_29092025_12_33_05_29887.jpg', 2), ('/mnt/data/29092025/12/32/image_29092025_12_32_35_30922.jpg', 2), ('/mnt/data/29092025/12/31/image_29092025_12_32_05_29749.jpg', 2), ('/mnt/data/29092025/12/31/image_29092025_12_31_35_29434.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:36:14.780317 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/35/image_29092025_12_35_35_30447.jpg', 2), ('/mnt/data/29092025/12/34/image_29092025_12_35_05_29305.jpg', 2), ('/mnt/data/29092025/12/34/image_29092025_12_34_35_30590.jpg', 2), ('/mnt/data/29092025/12/33/image_29092025_12_34_05_29732.jpg', 2), ('/mnt/data/29092025/12/33/image_29092025_12_33_35_29796.jpg', 2), ('/mnt/data/29092025/12/32/image_29092025_12_33_05_29887.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:37:25.916079 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/36/image_29092025_12_37_05_29439.jpg', 2), ('/mnt/data/29092025/12/35/image_29092025_12_36_05_29436.jpg', 2), ('/mnt/data/29092025/12/35/image_29092025_12_35_35_30447.jpg', 2), ('/mnt/data/29092025/12/34/image_29092025_12_35_05_29305.jpg', 2), ('/mnt/data/29092025/12/34/image_29092025_12_34_35_30590.jpg', 2), ('/mnt/data/29092025/12/33/image_29092025_12_34_05_29732.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:38:38.045283 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:39:50.176689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:41:03.221423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_38_35_29525.jpg', 2), ('/mnt/data/29092025/12/37/image_29092025_12_38_06_31117.jpg', 2), ('/mnt/data/29092025/12/37/image_29092025_12_37_35_29556.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:42:14.575999 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_38_35_29525.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:43:26.742670 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_38_35_29525.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:44:37.914188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:45:50.014942 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:47:03.237513 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_38_35_29525.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:48:14.435983 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_38_35_29525.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:49:26.608636 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_38_35_29525.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:50:38.776747 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:51:49.906417 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:53:03.109401 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:54:14.361651 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:55:26.462163 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2), ('/mnt/data/29092025/12/38/image_29092025_12_39_05_29834.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:56:38.587211 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 12:57:50.769874 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 12:59:03.294404 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_39_35_29573.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:00:14.563590 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:01:26.707492 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:02:37.917399 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:03:50.070270 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:05:02.997692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:05:50.345240 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:07:03.591375 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:08:14.782136 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:09:25.907689 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:10:38.062058 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:11:50.184141 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:13:03.354072 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2), ('/mnt/data/29092025/12/39/image_29092025_12_40_06_30922.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:14:14.749252 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:15:25.833162 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:16:37.974469 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:17:50.112339 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:19:03.463814 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:20:14.591351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:21:26.687595 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:22:37.842919 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:23:49.984685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:25:03.195129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_40_35_29383.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:26:14.413070 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/12/image_29092025_13_13_05_29661.jpg', 2), ('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:27:26.545459 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:28:03.379733 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/12/image_29092025_13_13_05_29661.jpg', 2), ('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:29:14.630978 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/12/image_29092025_13_13_05_29661.jpg', 2), ('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:30:26.794506 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/12/image_29092025_13_13_05_29661.jpg', 2), ('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2), ('/mnt/data/29092025/12/58/image_29092025_12_59_05_29530.jpg', 2), ('/mnt/data/29092025/12/50/image_29092025_12_50_35_29360.jpg', 2), ('/mnt/data/29092025/12/41/image_29092025_12_41_35_29448.jpg', 2), ('/mnt/data/29092025/12/40/image_29092025_12_41_06_30664.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:31:37.922458 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:32:50.040354 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:34:03.145657 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/32/image_29092025_13_33_05_30072.jpg', 2), ('/mnt/data/29092025/13/32/image_29092025_13_32_35_29680.jpg', 2), ('/mnt/data/29092025/13/31/image_29092025_13_32_06_30978.jpg', 2), ('/mnt/data/29092025/13/26/image_29092025_13_26_36_30903.jpg', 2), ('/mnt/data/29092025/13/12/image_29092025_13_13_05_29661.jpg', 2), ('/mnt/data/29092025/13/00/image_29092025_13_00_35_29610.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:35:14.498186 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/34/image_29092025_13_35_05_30587.jpg', 2), ('/mnt/data/29092025/13/34/image_29092025_13_34_35_30416.jpg', 2), ('/mnt/data/29092025/13/33/image_29092025_13_34_05_29706.jpg', 2), ('/mnt/data/29092025/13/33/image_29092025_13_33_35_29445.jpg', 2), ('/mnt/data/29092025/13/32/image_29092025_13_33_05_30072.jpg', 2), ('/mnt/data/29092025/13/32/image_29092025_13_32_35_29680.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:36:26.595641 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/35/image_29092025_13_36_05_30064.jpg', 2), ('/mnt/data/29092025/13/35/image_29092025_13_35_35_29237.jpg', 2), ('/mnt/data/29092025/13/34/image_29092025_13_35_05_30587.jpg', 2), ('/mnt/data/29092025/13/34/image_29092025_13_34_35_30416.jpg', 2), ('/mnt/data/29092025/13/33/image_29092025_13_34_05_29706.jpg', 2), ('/mnt/data/29092025/13/33/image_29092025_13_33_35_29445.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:37:38.767419 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:38:49.964378 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:40:02.892371 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/36/image_29092025_13_37_05_29384.jpg', 2), ('/mnt/data/29092025/13/36/image_29092025_13_36_35_30352.jpg', 2), ('/mnt/data/29092025/13/35/image_29092025_13_36_05_30064.jpg', 2), ('/mnt/data/29092025/13/35/image_29092025_13_35_35_29237.jpg', 2), ('/mnt/data/29092025/13/34/image_29092025_13_35_05_30587.jpg', 2), ('/mnt/data/29092025/13/34/image_29092025_13_34_35_30416.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:41:14.473941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/40/image_29092025_13_40_35_29509.jpg', 2), ('/mnt/data/29092025/13/39/image_29092025_13_40_06_30847.jpg', 2), ('/mnt/data/29092025/13/39/image_29092025_13_39_35_29438.jpg', 2), ('/mnt/data/29092025/13/36/image_29092025_13_37_05_29384.jpg', 2), ('/mnt/data/29092025/13/36/image_29092025_13_36_35_30352.jpg', 2), ('/mnt/data/29092025/13/35/image_29092025_13_36_05_30064.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:42:26.579146 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/41/image_29092025_13_42_05_29459.jpg', 2), ('/mnt/data/29092025/13/41/image_29092025_13_41_35_30683.jpg', 2), ('/mnt/data/29092025/13/40/image_29092025_13_40_35_29509.jpg', 2), ('/mnt/data/29092025/13/39/image_29092025_13_40_06_30847.jpg', 2), ('/mnt/data/29092025/13/39/image_29092025_13_39_35_29438.jpg', 2), ('/mnt/data/29092025/13/36/image_29092025_13_37_05_29384.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:43:38.832836 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:44:49.874611 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:46:02.928806 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/44/image_29092025_13_45_05_30506.jpg', 2), ('/mnt/data/29092025/13/43/image_29092025_13_44_05_30744.jpg', 2), ('/mnt/data/29092025/13/42/image_29092025_13_42_36_30714.jpg', 2), ('/mnt/data/29092025/13/41/image_29092025_13_42_05_29459.jpg', 2), ('/mnt/data/29092025/13/41/image_29092025_13_41_35_30683.jpg', 2), ('/mnt/data/29092025/13/40/image_29092025_13_40_35_29509.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:47:14.350525 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/46/image_29092025_13_47_05_30624.jpg', 2), ('/mnt/data/29092025/13/46/image_29092025_13_46_35_29464.jpg', 2), ('/mnt/data/29092025/13/45/image_29092025_13_46_05_30497.jpg', 2), ('/mnt/data/29092025/13/45/image_29092025_13_45_35_29185.jpg', 2), ('/mnt/data/29092025/13/44/image_29092025_13_45_05_30506.jpg', 2), ('/mnt/data/29092025/13/43/image_29092025_13_44_05_30744.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:48:26.510945 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/47/image_29092025_13_48_06_30921.jpg', 2), ('/mnt/data/29092025/13/47/image_29092025_13_47_35_29454.jpg', 2), ('/mnt/data/29092025/13/46/image_29092025_13_47_05_30624.jpg', 2), ('/mnt/data/29092025/13/46/image_29092025_13_46_35_29464.jpg', 2), ('/mnt/data/29092025/13/45/image_29092025_13_46_05_30497.jpg', 2), ('/mnt/data/29092025/13/45/image_29092025_13_45_35_29185.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:49:38.692314 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:50:49.833478 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:52:03.526465 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/50/image_29092025_13_51_05_30300.jpg', 2), ('/mnt/data/29092025/13/50/image_29092025_13_50_35_30257.jpg', 2), ('/mnt/data/29092025/13/49/image_29092025_13_50_05_29396.jpg', 2), ('/mnt/data/29092025/13/49/image_29092025_13_49_35_30394.jpg', 2), ('/mnt/data/29092025/13/48/image_29092025_13_49_05_29834.jpg', 2), ('/mnt/data/29092025/13/48/image_29092025_13_48_35_29713.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:53:13.941596 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/52/image_29092025_13_52_35_29260.jpg', 2), ('/mnt/data/29092025/13/51/image_29092025_13_52_05_30700.jpg', 2), ('/mnt/data/29092025/13/51/image_29092025_13_51_35_29137.jpg', 2), ('/mnt/data/29092025/13/50/image_29092025_13_51_05_30300.jpg', 2), ('/mnt/data/29092025/13/50/image_29092025_13_50_35_30257.jpg', 2), ('/mnt/data/29092025/13/49/image_29092025_13_50_05_29396.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:54:26.083925 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/52/image_29092025_13_52_35_29260.jpg', 2), ('/mnt/data/29092025/13/51/image_29092025_13_52_05_30700.jpg', 2), ('/mnt/data/29092025/13/51/image_29092025_13_51_35_29137.jpg', 2), ('/mnt/data/29092025/13/50/image_29092025_13_51_05_30300.jpg', 2), ('/mnt/data/29092025/13/50/image_29092025_13_50_35_30257.jpg', 2), ('/mnt/data/29092025/13/49/image_29092025_13_50_05_29396.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:55:38.228697 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 13:56:50.537409 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 13:59:03.244171 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/13/57/image_29092025_13_58_05_29807.jpg', 2), ('/mnt/data/29092025/13/57/image_29092025_13_57_35_29665.jpg', 2), ('/mnt/data/29092025/13/56/image_29092025_13_57_06_30443.jpg', 2), ('/mnt/data/29092025/13/56/image_29092025_13_56_35_30283.jpg', 2), ('/mnt/data/29092025/13/55/image_29092025_13_56_05_29175.jpg', 2), ('/mnt/data/29092025/13/55/image_29092025_13_55_36_30214.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:00:14.654801 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/59/image_29092025_13_59_35_30325.jpg', 2), ('/mnt/data/29092025/13/58/image_29092025_13_59_05_29448.jpg', 2), ('/mnt/data/29092025/13/58/image_29092025_13_58_36_30686.jpg', 2), ('/mnt/data/29092025/13/57/image_29092025_13_58_05_29807.jpg', 2), ('/mnt/data/29092025/13/57/image_29092025_13_57_35_29665.jpg', 2), ('/mnt/data/29092025/13/56/image_29092025_13_57_06_30443.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:01:25.821575 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/13/59/image_29092025_14_00_05_29641.jpg', 2), ('/mnt/data/29092025/13/59/image_29092025_13_59_35_30325.jpg', 2), ('/mnt/data/29092025/13/58/image_29092025_13_59_05_29448.jpg', 2), ('/mnt/data/29092025/13/58/image_29092025_13_58_36_30686.jpg', 2), ('/mnt/data/29092025/13/57/image_29092025_13_58_05_29807.jpg', 2), ('/mnt/data/29092025/13/57/image_29092025_13_57_35_29665.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:02:37.982351 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:03:50.139777 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:05:03.130934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/02/image_29092025_14_02_35_29550.jpg', 2), ('/mnt/data/29092025/14/01/image_29092025_14_02_05_30777.jpg', 2), ('/mnt/data/29092025/14/00/image_29092025_14_01_05_30700.jpg', 2), ('/mnt/data/29092025/13/59/image_29092025_14_00_05_29641.jpg', 2), ('/mnt/data/29092025/13/59/image_29092025_13_59_35_30325.jpg', 2), ('/mnt/data/29092025/13/58/image_29092025_13_59_05_29448.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:06:38.558869 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:07:50.777390 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:09:02.992047 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/06/image_29092025_14_07_06_29918.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_06_36_30951.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_06_05_30224.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_05_35_29766.jpg', 2), ('/mnt/data/29092025/14/04/image_29092025_14_05_05_29640.jpg', 2), ('/mnt/data/29092025/14/04/image_29092025_14_04_35_30569.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:10:14.214771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/07/image_29092025_14_07_36_29906.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_07_06_29918.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_06_36_30951.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_06_05_30224.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_05_35_29766.jpg', 2), ('/mnt/data/29092025/14/04/image_29092025_14_05_05_29640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:11:26.373120 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/07/image_29092025_14_07_36_29906.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_07_06_29918.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_06_36_30951.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_06_05_30224.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_05_35_29766.jpg', 2), ('/mnt/data/29092025/14/04/image_29092025_14_05_05_29640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:12:38.545940 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:13:50.707579 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:15:02.570023 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/10/image_29092025_14_10_35_29862.jpg', 2), ('/mnt/data/29092025/14/07/image_29092025_14_07_36_29906.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_07_06_29918.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_06_36_30951.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_06_05_30224.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_05_35_29766.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:16:14.145288 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/10/image_29092025_14_10_35_29862.jpg', 2), ('/mnt/data/29092025/14/07/image_29092025_14_07_36_29906.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_07_06_29918.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_06_36_30951.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_06_05_30224.jpg', 2), ('/mnt/data/29092025/14/05/image_29092025_14_05_35_29766.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:17:26.276767 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/16/image_29092025_14_17_05_29419.jpg', 2), ('/mnt/data/29092025/14/13/image_29092025_14_14_05_29579.jpg', 2), ('/mnt/data/29092025/14/10/image_29092025_14_10_35_29862.jpg', 2), ('/mnt/data/29092025/14/07/image_29092025_14_07_36_29906.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_07_06_29918.jpg', 2), ('/mnt/data/29092025/14/06/image_29092025_14_06_36_30951.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:18:38.417510 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:19:50.565873 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:21:02.531305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/19/image_29092025_14_19_35_29329.jpg', 2), ('/mnt/data/29092025/14/18/image_29092025_14_19_05_29894.jpg', 2), ('/mnt/data/29092025/14/17/image_29092025_14_17_35_30655.jpg', 2), ('/mnt/data/29092025/14/16/image_29092025_14_17_05_29419.jpg', 2), ('/mnt/data/29092025/14/13/image_29092025_14_14_05_29579.jpg', 2), ('/mnt/data/29092025/14/10/image_29092025_14_10_35_29862.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:22:14.068965 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/19/image_29092025_14_19_35_29329.jpg', 2), ('/mnt/data/29092025/14/18/image_29092025_14_19_05_29894.jpg', 2), ('/mnt/data/29092025/14/17/image_29092025_14_17_35_30655.jpg', 2), ('/mnt/data/29092025/14/16/image_29092025_14_17_05_29419.jpg', 2), ('/mnt/data/29092025/14/13/image_29092025_14_14_05_29579.jpg', 2), ('/mnt/data/29092025/14/10/image_29092025_14_10_35_29862.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:23:26.242462 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/19/image_29092025_14_19_35_29329.jpg', 2), ('/mnt/data/29092025/14/18/image_29092025_14_19_05_29894.jpg', 2), ('/mnt/data/29092025/14/17/image_29092025_14_17_35_30655.jpg', 2), ('/mnt/data/29092025/14/16/image_29092025_14_17_05_29419.jpg', 2), ('/mnt/data/29092025/14/13/image_29092025_14_14_05_29579.jpg', 2), ('/mnt/data/29092025/14/10/image_29092025_14_10_35_29862.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:24:38.407672 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:25:50.585990 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:27:02.702188 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:28:02.782196 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/26/image_29092025_14_27_05_29708.jpg', 2), ('/mnt/data/29092025/14/24/image_29092025_14_25_05_29789.jpg', 2), ('/mnt/data/29092025/14/24/image_29092025_14_24_35_30839.jpg', 2), ('/mnt/data/29092025/14/23/image_29092025_14_24_05_29803.jpg', 2), ('/mnt/data/29092025/14/19/image_29092025_14_20_05_29778.jpg', 2), ('/mnt/data/29092025/14/19/image_29092025_14_19_35_29329.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:29:14.368294 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/28/image_29092025_14_29_05_29594.jpg', 2), ('/mnt/data/29092025/14/27/image_29092025_14_27_35_29554.jpg', 2), ('/mnt/data/29092025/14/26/image_29092025_14_27_05_29708.jpg', 2), ('/mnt/data/29092025/14/24/image_29092025_14_25_05_29789.jpg', 2), ('/mnt/data/29092025/14/24/image_29092025_14_24_35_30839.jpg', 2), ('/mnt/data/29092025/14/23/image_29092025_14_24_05_29803.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:30:26.523934 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/29/image_29092025_14_30_05_29234.jpg', 2), ('/mnt/data/29092025/14/29/image_29092025_14_29_35_30322.jpg', 2), ('/mnt/data/29092025/14/28/image_29092025_14_29_05_29594.jpg', 2), ('/mnt/data/29092025/14/27/image_29092025_14_27_35_29554.jpg', 2), ('/mnt/data/29092025/14/26/image_29092025_14_27_05_29708.jpg', 2), ('/mnt/data/29092025/14/24/image_29092025_14_25_05_29789.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:31:38.651740 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:32:49.827036 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:34:02.921454 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/32/image_29092025_14_33_05_30264.jpg', 2), ('/mnt/data/29092025/14/32/image_29092025_14_32_35_30573.jpg', 2), ('/mnt/data/29092025/14/31/image_29092025_14_32_05_29675.jpg', 2), ('/mnt/data/29092025/14/31/image_29092025_14_31_35_29465.jpg', 2), ('/mnt/data/29092025/14/30/image_29092025_14_31_06_30584.jpg', 2), ('/mnt/data/29092025/14/30/image_29092025_14_30_35_30353.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:35:14.300053 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/34/image_29092025_14_35_06_30851.jpg', 2), ('/mnt/data/29092025/14/34/image_29092025_14_34_35_29223.jpg', 2), ('/mnt/data/29092025/14/33/image_29092025_14_33_35_29161.jpg', 2), ('/mnt/data/29092025/14/32/image_29092025_14_33_05_30264.jpg', 2), ('/mnt/data/29092025/14/32/image_29092025_14_32_35_30573.jpg', 2), ('/mnt/data/29092025/14/31/image_29092025_14_32_05_29675.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:36:26.412959 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/35/image_29092025_14_36_05_29583.jpg', 2), ('/mnt/data/29092025/14/35/image_29092025_14_35_35_29661.jpg', 2), ('/mnt/data/29092025/14/34/image_29092025_14_35_06_30851.jpg', 2), ('/mnt/data/29092025/14/34/image_29092025_14_34_35_29223.jpg', 2), ('/mnt/data/29092025/14/33/image_29092025_14_33_35_29161.jpg', 2), ('/mnt/data/29092025/14/32/image_29092025_14_33_05_30264.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:37:38.546804 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:38:50.686690 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:40:02.473248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/38/image_29092025_14_39_06_31218.jpg', 2), ('/mnt/data/29092025/14/38/image_29092025_14_38_34_29773.jpg', 2), ('/mnt/data/29092025/14/37/image_29092025_14_38_05_29873.jpg', 2), ('/mnt/data/29092025/14/37/image_29092025_14_37_35_29610.jpg', 2), ('/mnt/data/29092025/14/36/image_29092025_14_37_05_29627.jpg', 2), ('/mnt/data/29092025/14/36/image_29092025_14_36_36_30809.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:41:14.130289 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/40/image_29092025_14_41_05_29290.jpg', 2), ('/mnt/data/29092025/14/40/image_29092025_14_40_36_30416.jpg', 2), ('/mnt/data/29092025/14/39/image_29092025_14_40_05_29875.jpg', 2), ('/mnt/data/29092025/14/39/image_29092025_14_39_35_29676.jpg', 2), ('/mnt/data/29092025/14/38/image_29092025_14_39_06_31218.jpg', 2), ('/mnt/data/29092025/14/38/image_29092025_14_38_34_29773.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:42:26.271612 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/41/image_29092025_14_42_05_29374.jpg', 2), ('/mnt/data/29092025/14/41/image_29092025_14_41_35_30248.jpg', 2), ('/mnt/data/29092025/14/40/image_29092025_14_41_05_29290.jpg', 2), ('/mnt/data/29092025/14/40/image_29092025_14_40_36_30416.jpg', 2), ('/mnt/data/29092025/14/39/image_29092025_14_40_05_29875.jpg', 2), ('/mnt/data/29092025/14/39/image_29092025_14_39_35_29676.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:43:38.418256 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:44:50.566166 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:46:02.445406 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/44/image_29092025_14_45_05_29369.jpg', 2), ('/mnt/data/29092025/14/44/image_29092025_14_44_35_29600.jpg', 2), ('/mnt/data/29092025/14/43/image_29092025_14_44_06_30869.jpg', 2), ('/mnt/data/29092025/14/43/image_29092025_14_43_35_29388.jpg', 2), ('/mnt/data/29092025/14/42/image_29092025_14_43_05_30447.jpg', 2), ('/mnt/data/29092025/14/42/image_29092025_14_42_35_30398.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:47:13.987935 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/46/image_29092025_14_47_05_29808.jpg', 2), ('/mnt/data/29092025/14/46/image_29092025_14_46_35_30419.jpg', 2), ('/mnt/data/29092025/14/45/image_29092025_14_46_05_29448.jpg', 2), ('/mnt/data/29092025/14/45/image_29092025_14_45_35_30480.jpg', 2), ('/mnt/data/29092025/14/44/image_29092025_14_45_05_29369.jpg', 2), ('/mnt/data/29092025/14/44/image_29092025_14_44_35_29600.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:48:26.125105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/47/image_29092025_14_48_05_29890.jpg', 2), ('/mnt/data/29092025/14/47/image_29092025_14_47_36_30755.jpg', 2), ('/mnt/data/29092025/14/46/image_29092025_14_47_05_29808.jpg', 2), ('/mnt/data/29092025/14/46/image_29092025_14_46_35_30419.jpg', 2), ('/mnt/data/29092025/14/45/image_29092025_14_46_05_29448.jpg', 2), ('/mnt/data/29092025/14/45/image_29092025_14_45_35_30480.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:49:38.301446 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:50:50.423816 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:52:03.393508 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/50/image_29092025_14_51_05_30545.jpg', 2), ('/mnt/data/29092025/14/50/image_29092025_14_50_35_29526.jpg', 2), ('/mnt/data/29092025/14/49/image_29092025_14_50_05_29829.jpg', 2), ('/mnt/data/29092025/14/49/image_29092025_14_49_36_30708.jpg', 2), ('/mnt/data/29092025/14/48/image_29092025_14_49_05_29603.jpg', 2), ('/mnt/data/29092025/14/48/image_29092025_14_48_35_29739.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:53:13.847683 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/52/image_29092025_14_53_05_29402.jpg', 2), ('/mnt/data/29092025/14/52/image_29092025_14_52_35_30365.jpg', 2), ('/mnt/data/29092025/14/51/image_29092025_14_52_05_30377.jpg', 2), ('/mnt/data/29092025/14/51/image_29092025_14_51_35_29098.jpg', 2), ('/mnt/data/29092025/14/50/image_29092025_14_51_05_30545.jpg', 2), ('/mnt/data/29092025/14/50/image_29092025_14_50_35_29526.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:54:26.004588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/53/image_29092025_14_54_05_29773.jpg', 2), ('/mnt/data/29092025/14/53/image_29092025_14_53_36_30920.jpg', 2), ('/mnt/data/29092025/14/52/image_29092025_14_53_05_29402.jpg', 2), ('/mnt/data/29092025/14/52/image_29092025_14_52_35_30365.jpg', 2), ('/mnt/data/29092025/14/51/image_29092025_14_52_05_30377.jpg', 2), ('/mnt/data/29092025/14/51/image_29092025_14_51_35_29098.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:55:38.190606 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:56:26.333809 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/55/image_29092025_14_56_05_29827.jpg', 2), ('/mnt/data/29092025/14/55/image_29092025_14_55_35_29751.jpg', 2), ('/mnt/data/29092025/14/54/image_29092025_14_55_06_30442.jpg', 2), ('/mnt/data/29092025/14/54/image_29092025_14_54_35_29774.jpg', 2), ('/mnt/data/29092025/14/53/image_29092025_14_54_05_29773.jpg', 2), ('/mnt/data/29092025/14/53/image_29092025_14_53_36_30920.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 14:57:38.510722 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 14:59:02.985415 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/14/56/image_29092025_14_57_05_29105.jpg', 2), ('/mnt/data/29092025/14/56/image_29092025_14_56_35_30263.jpg', 2), ('/mnt/data/29092025/14/55/image_29092025_14_56_05_29827.jpg', 2), ('/mnt/data/29092025/14/55/image_29092025_14_55_35_29751.jpg', 2), ('/mnt/data/29092025/14/54/image_29092025_14_55_06_30442.jpg', 2), ('/mnt/data/29092025/14/54/image_29092025_14_54_35_29774.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:00:14.244207 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/14/59/image_29092025_15_00_06_30951.jpg', 2), ('/mnt/data/29092025/14/59/image_29092025_14_59_35_29527.jpg', 2), ('/mnt/data/29092025/14/58/image_29092025_14_59_05_30482.jpg', 2), ('/mnt/data/29092025/14/58/image_29092025_14_58_35_29115.jpg', 2), ('/mnt/data/29092025/14/57/image_29092025_14_58_05_30673.jpg', 2), ('/mnt/data/29092025/14/57/image_29092025_14_57_35_30231.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:01:26.397413 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/00/image_29092025_15_01_06_30493.jpg', 2), ('/mnt/data/29092025/15/00/image_29092025_15_00_35_29590.jpg', 2), ('/mnt/data/29092025/14/59/image_29092025_15_00_06_30951.jpg', 2), ('/mnt/data/29092025/14/59/image_29092025_14_59_35_29527.jpg', 2), ('/mnt/data/29092025/14/58/image_29092025_14_59_05_30482.jpg', 2), ('/mnt/data/29092025/14/58/image_29092025_14_58_35_29115.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:02:14.583876 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/01/image_29092025_15_02_05_30409.jpg', 2), ('/mnt/data/29092025/15/01/image_29092025_15_01_35_29003.jpg', 2), ('/mnt/data/29092025/15/00/image_29092025_15_01_06_30493.jpg', 2), ('/mnt/data/29092025/15/00/image_29092025_15_00_35_29590.jpg', 2), ('/mnt/data/29092025/14/59/image_29092025_15_00_06_30951.jpg', 2), ('/mnt/data/29092025/14/59/image_29092025_14_59_35_29527.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:03:26.706799 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/02/image_29092025_15_03_05_29243.jpg', 2), ('/mnt/data/29092025/15/02/image_29092025_15_02_35_30299.jpg', 2), ('/mnt/data/29092025/15/01/image_29092025_15_02_05_30409.jpg', 2), ('/mnt/data/29092025/15/01/image_29092025_15_01_35_29003.jpg', 2), ('/mnt/data/29092025/15/00/image_29092025_15_01_06_30493.jpg', 2), ('/mnt/data/29092025/15/00/image_29092025_15_00_35_29590.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect tls_in_tls=tls_in_tls, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket sock, context, tls_in_tls, server_hostname=server_hostname File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket _context=self, _session=session) File "/usr/lib/python3.6/ssl.py", line 817, in __init__ self.do_handshake() File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake self._sslobj.do_handshake() File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake self._sslobj.do_handshake() OSError: [Errno 0] Error During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 532, in increment raise six.reraise(type(error), error, _stacktrace) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise raise value.with_traceback(tb) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 382, in _make_request self._validate_conn(conn) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn conn.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 421, in connect tls_in_tls=tls_in_tls, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 429, in ssl_wrap_socket sock, context, tls_in_tls, server_hostname=server_hostname File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/ssl_.py", line 472, in _ssl_wrap_socket_impl return ssl_context.wrap_socket(sock, server_hostname=server_hostname) File "/usr/lib/python3.6/ssl.py", line 407, in wrap_socket _context=self, _session=session) File "/usr/lib/python3.6/ssl.py", line 817, in __init__ self.do_handshake() File "/usr/lib/python3.6/ssl.py", line 1077, in do_handshake self._sslobj.do_handshake() File "/usr/lib/python3.6/ssl.py", line 689, in do_handshake self._sslobj.do_handshake() urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(0, 'Error')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', OSError(0, 'Error')) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:09:03.207410 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/07/image_29092025_15_08_05_29896.jpg', 2), ('/mnt/data/29092025/15/07/image_29092025_15_07_35_29784.jpg', 2), ('/mnt/data/29092025/15/06/image_29092025_15_07_05_30836.jpg', 2), ('/mnt/data/29092025/15/06/image_29092025_15_06_35_29400.jpg', 2), ('/mnt/data/29092025/15/05/image_29092025_15_06_05_30591.jpg', 2), ('/mnt/data/29092025/15/05/image_29092025_15_05_35_29048.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:10:14.248783 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/09/image_29092025_15_10_05_29169.jpg', 2), ('/mnt/data/29092025/15/09/image_29092025_15_09_36_30542.jpg', 2), ('/mnt/data/29092025/15/08/image_29092025_15_09_05_30102.jpg', 2), ('/mnt/data/29092025/15/08/image_29092025_15_08_35_29844.jpg', 2), ('/mnt/data/29092025/15/07/image_29092025_15_08_05_29896.jpg', 2), ('/mnt/data/29092025/15/07/image_29092025_15_07_35_29784.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:11:26.386209 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/10/image_29092025_15_11_06_30601.jpg', 2), ('/mnt/data/29092025/15/10/image_29092025_15_10_35_30353.jpg', 2), ('/mnt/data/29092025/15/09/image_29092025_15_10_05_29169.jpg', 2), ('/mnt/data/29092025/15/09/image_29092025_15_09_36_30542.jpg', 2), ('/mnt/data/29092025/15/08/image_29092025_15_09_05_30102.jpg', 2), ('/mnt/data/29092025/15/08/image_29092025_15_08_35_29844.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:12:38.519429 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:13:50.692441 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:15:02.691153 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/13/image_29092025_15_14_05_29402.jpg', 2), ('/mnt/data/29092025/15/13/image_29092025_15_13_35_30371.jpg', 2), ('/mnt/data/29092025/15/12/image_29092025_15_13_05_30387.jpg', 2), ('/mnt/data/29092025/15/12/image_29092025_15_12_34_29074.jpg', 2), ('/mnt/data/29092025/15/11/image_29092025_15_12_05_30634.jpg', 2), ('/mnt/data/29092025/15/11/image_29092025_15_11_35_29094.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:16:14.137693 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/15/image_29092025_15_16_05_30808.jpg', 2), ('/mnt/data/29092025/15/15/image_29092025_15_15_35_29154.jpg', 2), ('/mnt/data/29092025/15/14/image_29092025_15_15_05_30432.jpg', 2), ('/mnt/data/29092025/15/14/image_29092025_15_14_35_30318.jpg', 2), ('/mnt/data/29092025/15/13/image_29092025_15_14_05_29402.jpg', 2), ('/mnt/data/29092025/15/13/image_29092025_15_13_35_30371.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:17:26.294224 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/16/image_29092025_15_17_05_30581.jpg', 2), ('/mnt/data/29092025/15/16/image_29092025_15_16_35_29164.jpg', 2), ('/mnt/data/29092025/15/15/image_29092025_15_16_05_30808.jpg', 2), ('/mnt/data/29092025/15/15/image_29092025_15_15_35_29154.jpg', 2), ('/mnt/data/29092025/15/14/image_29092025_15_15_05_30432.jpg', 2), ('/mnt/data/29092025/15/14/image_29092025_15_14_35_30318.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:18:38.408299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:19:50.653201 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:21:02.578009 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/19/image_29092025_15_20_05_29586.jpg', 2), ('/mnt/data/29092025/15/19/image_29092025_15_19_35_30613.jpg', 2), ('/mnt/data/29092025/15/18/image_29092025_15_19_05_29380.jpg', 2), ('/mnt/data/29092025/15/18/image_29092025_15_18_35_30488.jpg', 2), ('/mnt/data/29092025/15/17/image_29092025_15_18_05_29247.jpg', 2), ('/mnt/data/29092025/15/17/image_29092025_15_17_35_30296.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:22:14.122299 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/21/image_29092025_15_22_05_29705.jpg', 2), ('/mnt/data/29092025/15/21/image_29092025_15_21_36_30620.jpg', 2), ('/mnt/data/29092025/15/20/image_29092025_15_21_05_29533.jpg', 2), ('/mnt/data/29092025/15/20/image_29092025_15_20_35_30743.jpg', 2), ('/mnt/data/29092025/15/19/image_29092025_15_20_05_29586.jpg', 2), ('/mnt/data/29092025/15/19/image_29092025_15_19_35_30613.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:23:26.275423 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/22/image_29092025_15_23_05_29455.jpg', 2), ('/mnt/data/29092025/15/22/image_29092025_15_22_36_30304.jpg', 2), ('/mnt/data/29092025/15/21/image_29092025_15_22_05_29705.jpg', 2), ('/mnt/data/29092025/15/21/image_29092025_15_21_36_30620.jpg', 2), ('/mnt/data/29092025/15/20/image_29092025_15_21_05_29533.jpg', 2), ('/mnt/data/29092025/15/20/image_29092025_15_20_35_30743.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:24:38.430531 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:25:50.725715 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:26:37.893481 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:27:50.057170 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:28:02.876771 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/26/image_29092025_15_27_05_30555.jpg', 2), ('/mnt/data/29092025/15/26/image_29092025_15_26_35_29584.jpg', 2), ('/mnt/data/29092025/15/25/image_29092025_15_26_05_29734.jpg', 2), ('/mnt/data/29092025/15/25/image_29092025_15_25_35_30837.jpg', 2), ('/mnt/data/29092025/15/24/image_29092025_15_25_05_29391.jpg', 2), ('/mnt/data/29092025/15/24/image_29092025_15_24_35_30310.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:29:14.453173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/28/image_29092025_15_29_05_30757.jpg', 2), ('/mnt/data/29092025/15/28/image_29092025_15_28_35_29491.jpg', 2), ('/mnt/data/29092025/15/27/image_29092025_15_28_05_29449.jpg', 2), ('/mnt/data/29092025/15/27/image_29092025_15_27_36_30324.jpg', 2), ('/mnt/data/29092025/15/26/image_29092025_15_27_05_30555.jpg', 2), ('/mnt/data/29092025/15/26/image_29092025_15_26_35_29584.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:30:26.514439 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/29/image_29092025_15_30_05_29653.jpg', 2), ('/mnt/data/29092025/15/29/image_29092025_15_29_35_29585.jpg', 2), ('/mnt/data/29092025/15/28/image_29092025_15_29_05_30757.jpg', 2), ('/mnt/data/29092025/15/28/image_29092025_15_28_35_29491.jpg', 2), ('/mnt/data/29092025/15/27/image_29092025_15_28_05_29449.jpg', 2), ('/mnt/data/29092025/15/27/image_29092025_15_27_36_30324.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:31:38.671672 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:32:49.828526 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:34:02.681158 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/32/image_29092025_15_33_05_29919.jpg', 2), ('/mnt/data/29092025/15/32/image_29092025_15_32_35_29761.jpg', 2), ('/mnt/data/29092025/15/31/image_29092025_15_32_05_29755.jpg', 2), ('/mnt/data/29092025/15/31/image_29092025_15_31_35_30730.jpg', 2), ('/mnt/data/29092025/15/30/image_29092025_15_31_05_29251.jpg', 2), ('/mnt/data/29092025/15/30/image_29092025_15_30_35_30772.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:35:14.216581 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/34/image_29092025_15_35_06_30452.jpg', 2), ('/mnt/data/29092025/15/34/image_29092025_15_34_35_30190.jpg', 2), ('/mnt/data/29092025/15/33/image_29092025_15_34_05_29466.jpg', 2), ('/mnt/data/29092025/15/33/image_29092025_15_33_36_30791.jpg', 2), ('/mnt/data/29092025/15/32/image_29092025_15_33_05_29919.jpg', 2), ('/mnt/data/29092025/15/32/image_29092025_15_32_35_29761.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:36:26.370121 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/35/image_29092025_15_36_05_30346.jpg', 2), ('/mnt/data/29092025/15/35/image_29092025_15_35_35_29162.jpg', 2), ('/mnt/data/29092025/15/34/image_29092025_15_35_06_30452.jpg', 2), ('/mnt/data/29092025/15/34/image_29092025_15_34_35_30190.jpg', 2), ('/mnt/data/29092025/15/33/image_29092025_15_34_05_29466.jpg', 2), ('/mnt/data/29092025/15/33/image_29092025_15_33_36_30791.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:37:38.544726 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:38:50.483105 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:40:03.034173 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/38/image_29092025_15_39_05_29100.jpg', 2), ('/mnt/data/29092025/15/38/image_29092025_15_38_35_30246.jpg', 2), ('/mnt/data/29092025/15/37/image_29092025_15_38_05_30325.jpg', 2), ('/mnt/data/29092025/15/37/image_29092025_15_37_35_29511.jpg', 2), ('/mnt/data/29092025/15/36/image_29092025_15_37_05_29763.jpg', 2), ('/mnt/data/29092025/15/36/image_29092025_15_36_36_30462.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:41:13.978550 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/40/image_29092025_15_41_05_29837.jpg', 2), ('/mnt/data/29092025/15/40/image_29092025_15_40_35_29412.jpg', 2), ('/mnt/data/29092025/15/39/image_29092025_15_40_06_30564.jpg', 2), ('/mnt/data/29092025/15/39/image_29092025_15_39_35_30456.jpg', 2), ('/mnt/data/29092025/15/38/image_29092025_15_39_05_29100.jpg', 2), ('/mnt/data/29092025/15/38/image_29092025_15_38_35_30246.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:42:26.041707 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/41/image_29092025_15_42_06_29924.jpg', 2), ('/mnt/data/29092025/15/41/image_29092025_15_41_36_30790.jpg', 2), ('/mnt/data/29092025/15/40/image_29092025_15_41_05_29837.jpg', 2), ('/mnt/data/29092025/15/40/image_29092025_15_40_35_29412.jpg', 2), ('/mnt/data/29092025/15/39/image_29092025_15_40_06_30564.jpg', 2), ('/mnt/data/29092025/15/39/image_29092025_15_39_35_30456.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:43:38.241012 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:44:26.420711 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/43/image_29092025_15_44_06_30592.jpg', 2), ('/mnt/data/29092025/15/43/image_29092025_15_43_35_29388.jpg', 2), ('/mnt/data/29092025/15/42/image_29092025_15_43_06_30305.jpg', 2), ('/mnt/data/29092025/15/42/image_29092025_15_42_35_29786.jpg', 2), ('/mnt/data/29092025/15/41/image_29092025_15_42_06_29924.jpg', 2), ('/mnt/data/29092025/15/41/image_29092025_15_41_36_30790.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:45:38.532685 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:46:50.638691 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:48:02.568266 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/46/image_29092025_15_47_05_29539.jpg', 2), ('/mnt/data/29092025/15/46/image_29092025_15_46_35_30611.jpg', 2), ('/mnt/data/29092025/15/45/image_29092025_15_46_04_29610.jpg', 2), ('/mnt/data/29092025/15/45/image_29092025_15_45_35_29388.jpg', 2), ('/mnt/data/29092025/15/44/image_29092025_15_45_05_30648.jpg', 2), ('/mnt/data/29092025/15/44/image_29092025_15_44_35_29248.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:49:14.147609 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/48/image_29092025_15_49_05_30744.jpg', 2), ('/mnt/data/29092025/15/48/image_29092025_15_48_35_29498.jpg', 2), ('/mnt/data/29092025/15/47/image_29092025_15_48_05_29755.jpg', 2), ('/mnt/data/29092025/15/47/image_29092025_15_47_35_30819.jpg', 2), ('/mnt/data/29092025/15/46/image_29092025_15_47_05_29539.jpg', 2), ('/mnt/data/29092025/15/46/image_29092025_15_46_35_30611.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:50:26.320743 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/49/image_29092025_15_50_05_30511.jpg', 2), ('/mnt/data/29092025/15/49/image_29092025_15_49_35_29365.jpg', 2), ('/mnt/data/29092025/15/48/image_29092025_15_49_05_30744.jpg', 2), ('/mnt/data/29092025/15/48/image_29092025_15_48_35_29498.jpg', 2), ('/mnt/data/29092025/15/47/image_29092025_15_48_05_29755.jpg', 2), ('/mnt/data/29092025/15/47/image_29092025_15_47_35_30819.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:51:38.431639 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:52:50.619813 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:54:02.545811 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/52/image_29092025_15_53_05_29555.jpg', 2), ('/mnt/data/29092025/15/52/image_29092025_15_52_35_30619.jpg', 2), ('/mnt/data/29092025/15/51/image_29092025_15_52_05_29438.jpg', 2), ('/mnt/data/29092025/15/51/image_29092025_15_51_35_30405.jpg', 2), ('/mnt/data/29092025/15/50/image_29092025_15_51_05_29118.jpg', 2), ('/mnt/data/29092025/15/50/image_29092025_15_50_36_30324.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:55:14.032536 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/54/image_29092025_15_55_05_29326.jpg', 2), ('/mnt/data/29092025/15/54/image_29092025_15_54_35_30292.jpg', 2), ('/mnt/data/29092025/15/53/image_29092025_15_54_05_29571.jpg', 2), ('/mnt/data/29092025/15/53/image_29092025_15_53_36_30798.jpg', 2), ('/mnt/data/29092025/15/52/image_29092025_15_53_05_29555.jpg', 2), ('/mnt/data/29092025/15/52/image_29092025_15_52_35_30619.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:56:26.202335 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/55/image_29092025_15_56_05_29549.jpg', 2), ('/mnt/data/29092025/15/55/image_29092025_15_55_35_30308.jpg', 2), ('/mnt/data/29092025/15/54/image_29092025_15_55_05_29326.jpg', 2), ('/mnt/data/29092025/15/54/image_29092025_15_54_35_30292.jpg', 2), ('/mnt/data/29092025/15/53/image_29092025_15_54_05_29571.jpg', 2), ('/mnt/data/29092025/15/53/image_29092025_15_53_36_30798.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 15:57:38.350167 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 15:59:03.354435 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/15/57/image_29092025_15_58_05_29744.jpg', 2), ('/mnt/data/29092025/15/57/image_29092025_15_57_35_29721.jpg', 2), ('/mnt/data/29092025/15/56/image_29092025_15_57_05_29794.jpg', 2), ('/mnt/data/29092025/15/56/image_29092025_15_56_35_30804.jpg', 2), ('/mnt/data/29092025/15/55/image_29092025_15_56_05_29549.jpg', 2), ('/mnt/data/29092025/15/55/image_29092025_15_55_35_30308.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:00:14.623392 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/15/59/image_29092025_16_00_05_29665.jpg', 2), ('/mnt/data/29092025/15/59/image_29092025_15_59_35_29599.jpg', 2), ('/mnt/data/29092025/15/58/image_29092025_15_59_05_29720.jpg', 2), ('/mnt/data/29092025/15/58/image_29092025_15_58_36_30907.jpg', 2), ('/mnt/data/29092025/15/57/image_29092025_15_58_05_29744.jpg', 2), ('/mnt/data/29092025/15/57/image_29092025_15_57_35_29721.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:01:26.813784 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/00/image_29092025_16_01_06_30520.jpg', 2), ('/mnt/data/29092025/16/00/image_29092025_16_00_35_30469.jpg', 2), ('/mnt/data/29092025/15/59/image_29092025_16_00_05_29665.jpg', 2), ('/mnt/data/29092025/15/59/image_29092025_15_59_35_29599.jpg', 2), ('/mnt/data/29092025/15/58/image_29092025_15_59_05_29720.jpg', 2), ('/mnt/data/29092025/15/58/image_29092025_15_58_36_30907.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:02:37.960588 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:03:50.061073 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:05:03.127793 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/03/image_29092025_16_04_05_29659.jpg', 2), ('/mnt/data/29092025/16/03/image_29092025_16_03_36_30648.jpg', 2), ('/mnt/data/29092025/16/02/image_29092025_16_03_05_29369.jpg', 2), ('/mnt/data/29092025/16/02/image_29092025_16_02_36_30320.jpg', 2), ('/mnt/data/29092025/16/01/image_29092025_16_02_05_30466.jpg', 2), ('/mnt/data/29092025/16/01/image_29092025_16_01_35_29167.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:06:14.459729 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/05/image_29092025_16_06_05_30734.jpg', 2), ('/mnt/data/29092025/16/05/image_29092025_16_05_35_29472.jpg', 2), ('/mnt/data/29092025/16/04/image_29092025_16_04_36_30312.jpg', 2), ('/mnt/data/29092025/16/03/image_29092025_16_04_05_29659.jpg', 2), ('/mnt/data/29092025/16/03/image_29092025_16_03_36_30648.jpg', 2), ('/mnt/data/29092025/16/02/image_29092025_16_03_05_29369.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:07:26.633645 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_06_35_29179.jpg', 2), ('/mnt/data/29092025/16/05/image_29092025_16_06_05_30734.jpg', 2), ('/mnt/data/29092025/16/05/image_29092025_16_05_35_29472.jpg', 2), ('/mnt/data/29092025/16/04/image_29092025_16_04_36_30312.jpg', 2), ('/mnt/data/29092025/16/03/image_29092025_16_04_05_29659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:08:38.798360 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:09:49.916825 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:11:03.037603 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/09/image_29092025_16_10_05_29719.jpg', 2), ('/mnt/data/29092025/16/08/image_29092025_16_08_35_30761.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_08_05_29215.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_07_35_30796.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_06_35_29179.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:12:14.341592 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/09/image_29092025_16_10_05_29719.jpg', 2), ('/mnt/data/29092025/16/08/image_29092025_16_08_35_30761.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_08_05_29215.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_07_35_30796.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_06_35_29179.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:13:26.472248 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/09/image_29092025_16_10_05_29719.jpg', 2), ('/mnt/data/29092025/16/08/image_29092025_16_08_35_30761.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_08_05_29215.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_07_35_30796.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_06_35_29179.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:14:38.672933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:15:49.790904 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:17:02.933928 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/09/image_29092025_16_10_05_29719.jpg', 2), ('/mnt/data/29092025/16/08/image_29092025_16_08_35_30761.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_08_05_29215.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_07_35_30796.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_06_35_29179.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:18:14.308313 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/09/image_29092025_16_10_05_29719.jpg', 2), ('/mnt/data/29092025/16/08/image_29092025_16_08_35_30761.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_08_05_29215.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_07_35_30796.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_06_35_29179.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:19:26.536087 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/18/image_29092025_16_19_05_30604.jpg', 2), ('/mnt/data/29092025/16/09/image_29092025_16_10_05_29719.jpg', 2), ('/mnt/data/29092025/16/08/image_29092025_16_08_35_30761.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_08_05_29215.jpg', 2), ('/mnt/data/29092025/16/07/image_29092025_16_07_35_30796.jpg', 2), ('/mnt/data/29092025/16/06/image_29092025_16_07_05_29993.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:20:38.594421 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:21:50.853364 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:23:03.061534 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/21/image_29092025_16_22_05_30676.jpg', 2), ('/mnt/data/29092025/16/21/image_29092025_16_21_35_30217.jpg', 2), ('/mnt/data/29092025/16/20/image_29092025_16_21_05_29215.jpg', 2), ('/mnt/data/29092025/16/20/image_29092025_16_20_35_30404.jpg', 2), ('/mnt/data/29092025/16/18/image_29092025_16_19_05_30604.jpg', 2), ('/mnt/data/29092025/16/10/image_29092025_16_10_35_29233.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:24:14.299341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/23/image_29092025_16_24_05_29621.jpg', 2), ('/mnt/data/29092025/16/23/image_29092025_16_23_35_29617.jpg', 2), ('/mnt/data/29092025/16/22/image_29092025_16_23_05_30565.jpg', 2), ('/mnt/data/29092025/16/22/image_29092025_16_22_35_29343.jpg', 2), ('/mnt/data/29092025/16/21/image_29092025_16_22_05_30676.jpg', 2), ('/mnt/data/29092025/16/21/image_29092025_16_21_35_30217.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:25:26.440450 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/24/image_29092025_16_25_05_29942.jpg', 2), ('/mnt/data/29092025/16/24/image_29092025_16_24_35_30724.jpg', 2), ('/mnt/data/29092025/16/23/image_29092025_16_24_05_29621.jpg', 2), ('/mnt/data/29092025/16/23/image_29092025_16_23_35_29617.jpg', 2), ('/mnt/data/29092025/16/22/image_29092025_16_23_05_30565.jpg', 2), ('/mnt/data/29092025/16/22/image_29092025_16_22_35_29343.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:26:38.544451 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:27:50.711692 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:28:02.522833 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/26/image_29092025_16_27_05_29474.jpg', 2), ('/mnt/data/29092025/16/26/image_29092025_16_26_36_30960.jpg', 2), ('/mnt/data/29092025/16/25/image_29092025_16_26_05_29655.jpg', 2), ('/mnt/data/29092025/16/25/image_29092025_16_25_35_29765.jpg', 2), ('/mnt/data/29092025/16/24/image_29092025_16_25_05_29942.jpg', 2), ('/mnt/data/29092025/16/24/image_29092025_16_24_35_30724.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:29:14.437312 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/28/image_29092025_16_29_05_30404.jpg', 2), ('/mnt/data/29092025/16/28/image_29092025_16_28_35_30288.jpg', 2), ('/mnt/data/29092025/16/27/image_29092025_16_28_05_29176.jpg', 2), ('/mnt/data/29092025/16/27/image_29092025_16_27_35_30298.jpg', 2), ('/mnt/data/29092025/16/26/image_29092025_16_27_05_29474.jpg', 2), ('/mnt/data/29092025/16/26/image_29092025_16_26_36_30960.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:30:26.709803 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/29/image_29092025_16_30_05_29375.jpg', 2), ('/mnt/data/29092025/16/29/image_29092025_16_29_36_30332.jpg', 2), ('/mnt/data/29092025/16/28/image_29092025_16_29_05_30404.jpg', 2), ('/mnt/data/29092025/16/28/image_29092025_16_28_35_30288.jpg', 2), ('/mnt/data/29092025/16/27/image_29092025_16_28_05_29176.jpg', 2), ('/mnt/data/29092025/16/27/image_29092025_16_27_35_30298.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:31:37.842355 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:32:50.030914 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:34:03.072515 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/32/image_29092025_16_33_05_30448.jpg', 2), ('/mnt/data/29092025/16/32/image_29092025_16_32_35_30260.jpg', 2), ('/mnt/data/29092025/16/31/image_29092025_16_32_04_29272.jpg', 2), ('/mnt/data/29092025/16/31/image_29092025_16_31_35_30669.jpg', 2), ('/mnt/data/29092025/16/30/image_29092025_16_31_05_29810.jpg', 2), ('/mnt/data/29092025/16/30/image_29092025_16_30_35_29737.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:35:14.509293 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/34/image_29092025_16_35_05_30025.jpg', 2), ('/mnt/data/29092025/16/34/image_29092025_16_34_35_30203.jpg', 2), ('/mnt/data/29092025/16/33/image_29092025_16_34_05_29465.jpg', 2), ('/mnt/data/29092025/16/33/image_29092025_16_33_36_30381.jpg', 2), ('/mnt/data/29092025/16/32/image_29092025_16_33_05_30448.jpg', 2), ('/mnt/data/29092025/16/32/image_29092025_16_32_35_30260.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:36:26.633933 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/35/image_29092025_16_36_05_29874.jpg', 2), ('/mnt/data/29092025/16/35/image_29092025_16_35_35_29706.jpg', 2), ('/mnt/data/29092025/16/34/image_29092025_16_35_05_30025.jpg', 2), ('/mnt/data/29092025/16/34/image_29092025_16_34_35_30203.jpg', 2), ('/mnt/data/29092025/16/33/image_29092025_16_34_05_29465.jpg', 2), ('/mnt/data/29092025/16/33/image_29092025_16_33_36_30381.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:37:38.773263 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:38:49.921548 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:40:02.754704 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/38/image_29092025_16_39_05_30374.jpg', 2), ('/mnt/data/29092025/16/38/image_29092025_16_38_35_29233.jpg', 2), ('/mnt/data/29092025/16/37/image_29092025_16_38_06_30472.jpg', 2), ('/mnt/data/29092025/16/37/image_29092025_16_37_35_30468.jpg', 2), ('/mnt/data/29092025/16/36/image_29092025_16_37_05_30001.jpg', 2), ('/mnt/data/29092025/16/36/image_29092025_16_36_35_29833.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:41:14.356241 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/40/image_29092025_16_41_06_29789.jpg', 2), ('/mnt/data/29092025/16/40/image_29092025_16_40_36_30026.jpg', 2), ('/mnt/data/29092025/16/39/image_29092025_16_40_06_30008.jpg', 2), ('/mnt/data/29092025/16/39/image_29092025_16_39_36_30420.jpg', 2), ('/mnt/data/29092025/16/38/image_29092025_16_39_05_30374.jpg', 2), ('/mnt/data/29092025/16/38/image_29092025_16_38_35_29233.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:42:26.507422 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/41/image_29092025_16_42_05_29314.jpg', 2), ('/mnt/data/29092025/16/41/image_29092025_16_41_35_29906.jpg', 2), ('/mnt/data/29092025/16/40/image_29092025_16_41_06_29789.jpg', 2), ('/mnt/data/29092025/16/40/image_29092025_16_40_36_30026.jpg', 2), ('/mnt/data/29092025/16/39/image_29092025_16_40_06_30008.jpg', 2), ('/mnt/data/29092025/16/39/image_29092025_16_39_36_30420.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:43:38.701428 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:44:50.798414 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:46:02.734143 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/44/image_29092025_16_45_05_29576.jpg', 2), ('/mnt/data/29092025/16/44/image_29092025_16_44_36_30636.jpg', 2), ('/mnt/data/29092025/16/43/image_29092025_16_44_05_29233.jpg', 2), ('/mnt/data/29092025/16/43/image_29092025_16_43_36_30283.jpg', 2), ('/mnt/data/29092025/16/42/image_29092025_16_43_05_30387.jpg', 2), ('/mnt/data/29092025/16/42/image_29092025_16_42_35_30279.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:47:14.240323 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/46/image_29092025_16_47_04_29209.jpg', 2), ('/mnt/data/29092025/16/46/image_29092025_16_46_35_30329.jpg', 2), ('/mnt/data/29092025/16/45/image_29092025_16_46_05_29339.jpg', 2), ('/mnt/data/29092025/16/45/image_29092025_16_45_36_30510.jpg', 2), ('/mnt/data/29092025/16/44/image_29092025_16_45_05_29576.jpg', 2), ('/mnt/data/29092025/16/44/image_29092025_16_44_36_30636.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:48:26.411316 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/47/image_29092025_16_48_05_30549.jpg', 2), ('/mnt/data/29092025/16/47/image_29092025_16_47_35_30299.jpg', 2), ('/mnt/data/29092025/16/46/image_29092025_16_47_04_29209.jpg', 2), ('/mnt/data/29092025/16/46/image_29092025_16_46_35_30329.jpg', 2), ('/mnt/data/29092025/16/45/image_29092025_16_46_05_29339.jpg', 2), ('/mnt/data/29092025/16/45/image_29092025_16_45_36_30510.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:49:38.568114 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:50:50.723717 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:52:02.668977 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/52/image_29092025_16_52_35_29140.jpg', 2), ('/mnt/data/29092025/16/50/image_29092025_16_51_05_29293.jpg', 2), ('/mnt/data/29092025/16/50/image_29092025_16_50_35_30631.jpg', 2), ('/mnt/data/29092025/16/49/image_29092025_16_50_05_29582.jpg', 2), ('/mnt/data/29092025/16/49/image_29092025_16_49_35_30498.jpg', 2), ('/mnt/data/29092025/16/48/image_29092025_16_49_05_29170.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:53:14.161941 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/52/image_29092025_16_53_05_30584.jpg', 2), ('/mnt/data/29092025/16/52/image_29092025_16_52_35_29140.jpg', 2), ('/mnt/data/29092025/16/51/image_29092025_16_52_05_30511.jpg', 2), ('/mnt/data/29092025/16/51/image_29092025_16_51_35_30248.jpg', 2), ('/mnt/data/29092025/16/50/image_29092025_16_51_05_29293.jpg', 2), ('/mnt/data/29092025/16/50/image_29092025_16_50_35_30631.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:54:26.318220 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/53/image_29092025_16_54_05_29247.jpg', 2), ('/mnt/data/29092025/16/53/image_29092025_16_53_36_30318.jpg', 2), ('/mnt/data/29092025/16/52/image_29092025_16_53_05_30584.jpg', 2), ('/mnt/data/29092025/16/52/image_29092025_16_52_35_29140.jpg', 2), ('/mnt/data/29092025/16/51/image_29092025_16_52_05_30511.jpg', 2), ('/mnt/data/29092025/16/51/image_29092025_16_51_35_30248.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:55:38.413028 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 16:56:50.550794 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 16:59:03.046398 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/16/57/image_29092025_16_58_05_30632.jpg', 2), ('/mnt/data/29092025/16/57/image_29092025_16_57_35_30193.jpg', 2), ('/mnt/data/29092025/16/56/image_29092025_16_57_05_29290.jpg', 2), ('/mnt/data/29092025/16/56/image_29092025_16_56_35_30405.jpg', 2), ('/mnt/data/29092025/16/55/image_29092025_16_56_05_29184.jpg', 2), ('/mnt/data/29092025/16/55/image_29092025_16_55_36_30640.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:00:14.254678 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/16/59/image_29092025_17_00_05_30008.jpg', 2), ('/mnt/data/29092025/16/59/image_29092025_16_59_35_29659.jpg', 2), ('/mnt/data/29092025/16/58/image_29092025_16_59_06_30804.jpg', 2), ('/mnt/data/29092025/16/58/image_29092025_16_58_35_29487.jpg', 2), ('/mnt/data/29092025/16/57/image_29092025_16_58_05_30632.jpg', 2), ('/mnt/data/29092025/16/57/image_29092025_16_57_35_30193.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:01:26.369577 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/00/image_29092025_17_01_05_29670.jpg', 2), ('/mnt/data/29092025/17/00/image_29092025_17_00_35_29740.jpg', 2), ('/mnt/data/29092025/16/59/image_29092025_17_00_05_30008.jpg', 2), ('/mnt/data/29092025/16/59/image_29092025_16_59_35_29659.jpg', 2), ('/mnt/data/29092025/16/58/image_29092025_16_59_06_30804.jpg', 2), ('/mnt/data/29092025/16/58/image_29092025_16_58_35_29487.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:02:14.532104 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/01/image_29092025_17_02_05_29269.jpg', 2), ('/mnt/data/29092025/17/01/image_29092025_17_01_35_30554.jpg', 2), ('/mnt/data/29092025/17/00/image_29092025_17_01_05_29670.jpg', 2), ('/mnt/data/29092025/17/00/image_29092025_17_00_35_29740.jpg', 2), ('/mnt/data/29092025/16/59/image_29092025_17_00_05_30008.jpg', 2), ('/mnt/data/29092025/16/59/image_29092025_16_59_35_29659.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:03:26.733529 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/02/image_29092025_17_03_05_30382.jpg', 2), ('/mnt/data/29092025/17/02/image_29092025_17_02_35_30222.jpg', 2), ('/mnt/data/29092025/17/01/image_29092025_17_02_05_29269.jpg', 2), ('/mnt/data/29092025/17/01/image_29092025_17_01_35_30554.jpg', 2), ('/mnt/data/29092025/17/00/image_29092025_17_01_05_29670.jpg', 2), ('/mnt/data/29092025/17/00/image_29092025_17_00_35_29740.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:04:37.867796 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:05:50.132484 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:07:03.325916 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/05/image_29092025_17_06_05_29614.jpg', 2), ('/mnt/data/29092025/17/05/image_29092025_17_05_35_29521.jpg', 2), ('/mnt/data/29092025/17/04/image_29092025_17_05_06_30843.jpg', 2), ('/mnt/data/29092025/17/04/image_29092025_17_04_35_29491.jpg', 2), ('/mnt/data/29092025/17/03/image_29092025_17_04_05_30659.jpg', 2), ('/mnt/data/29092025/17/03/image_29092025_17_03_34_29333.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:08:14.666539 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/07/image_29092025_17_08_05_29565.jpg', 2), ('/mnt/data/29092025/17/07/image_29092025_17_07_35_30232.jpg', 2), ('/mnt/data/29092025/17/06/image_29092025_17_07_05_29256.jpg', 2), ('/mnt/data/29092025/17/06/image_29092025_17_06_35_30821.jpg', 2), ('/mnt/data/29092025/17/05/image_29092025_17_06_05_29614.jpg', 2), ('/mnt/data/29092025/17/05/image_29092025_17_05_35_29521.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:09:26.819145 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/08/image_29092025_17_09_05_29518.jpg', 2), ('/mnt/data/29092025/17/08/image_29092025_17_08_35_30730.jpg', 2), ('/mnt/data/29092025/17/07/image_29092025_17_08_05_29565.jpg', 2), ('/mnt/data/29092025/17/07/image_29092025_17_07_35_30232.jpg', 2), ('/mnt/data/29092025/17/06/image_29092025_17_07_05_29256.jpg', 2), ('/mnt/data/29092025/17/06/image_29092025_17_06_35_30821.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:10:37.978307 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:11:50.170475 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:13:03.319964 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/11/image_29092025_17_12_06_30859.jpg', 2), ('/mnt/data/29092025/17/11/image_29092025_17_11_35_29459.jpg', 2), ('/mnt/data/29092025/17/10/image_29092025_17_11_05_29724.jpg', 2), ('/mnt/data/29092025/17/10/image_29092025_17_10_36_30763.jpg', 2), ('/mnt/data/29092025/17/09/image_29092025_17_10_05_29676.jpg', 2), ('/mnt/data/29092025/17/09/image_29092025_17_09_35_30394.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:14:14.589127 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/13/image_29092025_17_14_05_30033.jpg', 2), ('/mnt/data/29092025/17/13/image_29092025_17_13_35_30731.jpg', 2), ('/mnt/data/29092025/17/12/image_29092025_17_13_05_29307.jpg', 2), ('/mnt/data/29092025/17/12/image_29092025_17_12_35_29695.jpg', 2), ('/mnt/data/29092025/17/11/image_29092025_17_12_06_30859.jpg', 2), ('/mnt/data/29092025/17/11/image_29092025_17_11_35_29459.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:15:26.692418 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/14/image_29092025_17_15_06_30751.jpg', 2), ('/mnt/data/29092025/17/14/image_29092025_17_14_35_29467.jpg', 2), ('/mnt/data/29092025/17/13/image_29092025_17_14_05_30033.jpg', 2), ('/mnt/data/29092025/17/13/image_29092025_17_13_35_30731.jpg', 2), ('/mnt/data/29092025/17/12/image_29092025_17_13_05_29307.jpg', 2), ('/mnt/data/29092025/17/12/image_29092025_17_12_35_29695.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:16:37.844179 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:17:50.015129 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:19:02.757505 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/17/image_29092025_17_18_05_29875.jpg', 2), ('/mnt/data/29092025/17/17/image_29092025_17_17_35_30401.jpg', 2), ('/mnt/data/29092025/17/16/image_29092025_17_17_05_29315.jpg', 2), ('/mnt/data/29092025/17/16/image_29092025_17_16_35_30236.jpg', 2), ('/mnt/data/29092025/17/15/image_29092025_17_16_05_30453.jpg', 2), ('/mnt/data/29092025/17/15/image_29092025_17_15_35_29096.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:20:14.419291 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/19/image_29092025_17_20_05_29382.jpg', 2), ('/mnt/data/29092025/17/19/image_29092025_17_19_35_30223.jpg', 2), ('/mnt/data/29092025/17/18/image_29092025_17_19_05_30503.jpg', 2), ('/mnt/data/29092025/17/18/image_29092025_17_18_35_29654.jpg', 2), ('/mnt/data/29092025/17/17/image_29092025_17_18_05_29875.jpg', 2), ('/mnt/data/29092025/17/17/image_29092025_17_17_35_30401.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:21:26.611305 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/20/image_29092025_17_21_06_30480.jpg', 2), ('/mnt/data/29092025/17/20/image_29092025_17_20_35_30408.jpg', 2), ('/mnt/data/29092025/17/19/image_29092025_17_20_05_29382.jpg', 2), ('/mnt/data/29092025/17/19/image_29092025_17_19_35_30223.jpg', 2), ('/mnt/data/29092025/17/18/image_29092025_17_19_05_30503.jpg', 2), ('/mnt/data/29092025/17/18/image_29092025_17_18_35_29654.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:22:37.828160 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:23:49.968341 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:25:02.933287 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 True val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/23/image_29092025_17_24_05_30459.jpg', 2), ('/mnt/data/29092025/17/23/image_29092025_17_23_35_29363.jpg', 2), ('/mnt/data/29092025/17/22/image_29092025_17_23_05_29726.jpg', 2), ('/mnt/data/29092025/17/22/image_29092025_17_22_35_30783.jpg', 2), ('/mnt/data/29092025/17/21/image_29092025_17_22_05_29726.jpg', 2), ('/mnt/data/29092025/17/21/image_29092025_17_21_35_29276.jpg', 2)] Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 339, in upload_from_sqlite n_date = n_date[:10] TypeError: 'NoneType' object is not subscriptable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 154, in get_port_id_and_datou_current_id with open(portfolio_path_local_cache_name, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_29092025.txt' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 96, in create_connection raise err File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/connection.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/home/nano/.local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/home/nano/.local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 639, in limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 354, in upload_from_sqlite port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose) File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 178, in get_port_id_and_datou_current_id ret = fc.create_portfolio(new_name, verbose = verbose) File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio r = requests.post(url, data=data_to_send) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 119, in post return request('post', url, data=data, json=json, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in send history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 677, in history = [resp for resp in gen] File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 245, in resolve_redirects **adapter_kwargs File "/home/nano/.local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/home/nano/.local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',)) Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:26:14.452676 no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config new_name : jetson_test_aec_mm_0225_29092025 fc.token : 85213b338a7900a79945692114f14db2 False 533 3791468 533 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:29:03.685112 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/26/image_29092025_17_27_05_30420.jpg', 2), ('/mnt/data/29092025/17/26/image_29092025_17_26_35_29774.jpg', 2), ('/mnt/data/29092025/17/25/image_29092025_17_26_05_29723.jpg', 2), ('/mnt/data/29092025/17/25/image_29092025_17_25_35_30588.jpg', 2), ('/mnt/data/29092025/17/24/image_29092025_17_25_05_29230.jpg', 2), ('/mnt/data/29092025/17/24/image_29092025_17_24_35_30306.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/26/image_29092025_17_27_05_30420.jpg', '/mnt/data/29092025/17/26/image_29092025_17_26_35_29774.jpg', '/mnt/data/29092025/17/25/image_29092025_17_26_05_29723.jpg', '/mnt/data/29092025/17/25/image_29092025_17_25_35_30588.jpg', '/mnt/data/29092025/17/24/image_29092025_17_25_05_29230.jpg', '/mnt/data/29092025/17/24/image_29092025_17_24_35_30306.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/26/image_29092025_17_27_05_30420.jpg', '/mnt/data/29092025/17/26/image_29092025_17_26_35_29774.jpg', '/mnt/data/29092025/17/25/image_29092025_17_26_05_29723.jpg', '/mnt/data/29092025/17/25/image_29092025_17_25_35_30588.jpg', '/mnt/data/29092025/17/24/image_29092025_17_25_05_29230.jpg', '/mnt/data/29092025/17/24/image_29092025_17_24_35_30306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/26/image_29092025_17_27_05_30420.jpg /mnt/data/29092025/17/26/image_29092025_17_26_35_29774.jpg /mnt/data/29092025/17/25/image_29092025_17_26_05_29723.jpg /mnt/data/29092025/17/25/image_29092025_17_25_35_30588.jpg /mnt/data/29092025/17/24/image_29092025_17_25_05_29230.jpg /mnt/data/29092025/17/24/image_29092025_17_24_35_30306.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.5988233089447 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:31:25.853293 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 133.9138743877411 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/30/image_29092025_17_31_05_29238.jpg', 2), ('/mnt/data/29092025/17/30/image_29092025_17_30_35_30304.jpg', 2), ('/mnt/data/29092025/17/29/image_29092025_17_30_05_30551.jpg', 2), ('/mnt/data/29092025/17/29/image_29092025_17_29_35_29166.jpg', 2), ('/mnt/data/29092025/17/28/image_29092025_17_29_05_30484.jpg', 2), ('/mnt/data/29092025/17/28/image_29092025_17_28_35_30162.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/30/image_29092025_17_31_05_29238.jpg', '/mnt/data/29092025/17/30/image_29092025_17_30_35_30304.jpg', '/mnt/data/29092025/17/29/image_29092025_17_30_05_30551.jpg', '/mnt/data/29092025/17/29/image_29092025_17_29_35_29166.jpg', '/mnt/data/29092025/17/28/image_29092025_17_29_05_30484.jpg', '/mnt/data/29092025/17/28/image_29092025_17_28_35_30162.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:33:50.174321 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.24512219429016 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:34:26.364674 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 141.0224483013153 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/33/image_29092025_17_34_05_30039.jpg', 2), ('/mnt/data/29092025/17/33/image_29092025_17_33_35_29743.jpg', 2), ('/mnt/data/29092025/17/32/image_29092025_17_33_06_30880.jpg', 2), ('/mnt/data/29092025/17/32/image_29092025_17_32_35_29725.jpg', 2), ('/mnt/data/29092025/17/31/image_29092025_17_32_05_29741.jpg', 2), ('/mnt/data/29092025/17/31/image_29092025_17_31_35_30464.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/33/image_29092025_17_34_05_30039.jpg', '/mnt/data/29092025/17/33/image_29092025_17_33_35_29743.jpg', '/mnt/data/29092025/17/32/image_29092025_17_33_06_30880.jpg', '/mnt/data/29092025/17/32/image_29092025_17_32_35_29725.jpg', '/mnt/data/29092025/17/31/image_29092025_17_32_05_29741.jpg', '/mnt/data/29092025/17/31/image_29092025_17_31_35_30464.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:36:50.677783 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.187951803207397 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:37:25.783462 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.178008317947388 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/36/image_29092025_17_37_05_29497.jpg', 2), ('/mnt/data/29092025/17/36/image_29092025_17_36_36_30605.jpg', 2), ('/mnt/data/29092025/17/35/image_29092025_17_36_05_29889.jpg', 2), ('/mnt/data/29092025/17/35/image_29092025_17_35_35_30319.jpg', 2), ('/mnt/data/29092025/17/34/image_29092025_17_35_05_29049.jpg', 2), ('/mnt/data/29092025/17/34/image_29092025_17_34_36_30364.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/36/image_29092025_17_37_05_29497.jpg', '/mnt/data/29092025/17/36/image_29092025_17_36_36_30605.jpg', '/mnt/data/29092025/17/35/image_29092025_17_36_05_29889.jpg', '/mnt/data/29092025/17/35/image_29092025_17_35_35_30319.jpg', '/mnt/data/29092025/17/34/image_29092025_17_35_05_29049.jpg', '/mnt/data/29092025/17/34/image_29092025_17_34_36_30364.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:38:02.659692 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/36/image_29092025_17_37_05_29497.jpg', 2), ('/mnt/data/29092025/17/36/image_29092025_17_36_36_30605.jpg', 2), ('/mnt/data/29092025/17/35/image_29092025_17_36_05_29889.jpg', 2), ('/mnt/data/29092025/17/35/image_29092025_17_35_35_30319.jpg', 2), ('/mnt/data/29092025/17/34/image_29092025_17_35_05_29049.jpg', 2), ('/mnt/data/29092025/17/34/image_29092025_17_34_36_30364.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/36/image_29092025_17_37_05_29497.jpg', '/mnt/data/29092025/17/36/image_29092025_17_36_36_30605.jpg', '/mnt/data/29092025/17/35/image_29092025_17_36_05_29889.jpg', '/mnt/data/29092025/17/35/image_29092025_17_35_35_30319.jpg', '/mnt/data/29092025/17/34/image_29092025_17_35_05_29049.jpg', '/mnt/data/29092025/17/34/image_29092025_17_34_36_30364.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/36/image_29092025_17_37_05_29497.jpg', '/mnt/data/29092025/17/36/image_29092025_17_36_36_30605.jpg', '/mnt/data/29092025/17/35/image_29092025_17_36_05_29889.jpg', '/mnt/data/29092025/17/35/image_29092025_17_35_35_30319.jpg', '/mnt/data/29092025/17/34/image_29092025_17_35_05_29049.jpg', '/mnt/data/29092025/17/34/image_29092025_17_34_36_30364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/36/image_29092025_17_37_05_29497.jpg /mnt/data/29092025/17/36/image_29092025_17_36_36_30605.jpg /mnt/data/29092025/17/35/image_29092025_17_36_05_29889.jpg /mnt/data/29092025/17/35/image_29092025_17_35_35_30319.jpg /mnt/data/29092025/17/34/image_29092025_17_35_05_29049.jpg /mnt/data/29092025/17/34/image_29092025_17_34_36_30364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.963796377182 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:40:26.387849 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 133.64317512512207 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', 2), ('/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', '/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', '/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', '/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', '/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', '/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:42:50.658359 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.186171531677246 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:43:25.814300 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.1832435131073 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', 2), ('/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', '/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', '/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', '/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', '/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', '/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:44:02.732899 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', 2), ('/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', '/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', '/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', '/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', '/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', '/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', '/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', '/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', '/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', '/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', '/mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg /mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg /mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg /mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg /mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg /mnt/data/29092025/17/37/image_29092025_17_37_35_29570.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.177183866500854 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:44:37.948309 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.19467282295227 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:45:14.141269 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.83866047859192 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/40/image_29092025_17_40_36_30452.jpg', 2), ('/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', 2), ('/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', 2), ('/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', 2), ('/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/40/image_29092025_17_40_36_30452.jpg', '/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', '/mnt/data/29092025/17/39/image_29092025_17_39_36_30528.jpg', '/mnt/data/29092025/17/38/image_29092025_17_39_05_29883.jpg', '/mnt/data/29092025/17/38/image_29092025_17_38_35_29650.jpg', '/mnt/data/29092025/17/37/image_29092025_17_38_05_30823.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:47:38.453787 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 138.75803971290588 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:50:02.455624 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2), ('/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', 2), ('/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg', 2), ('/mnt/data/29092025/17/40/image_29092025_17_40_36_30452.jpg', 2), ('/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', '/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg', '/mnt/data/29092025/17/40/image_29092025_17_40_36_30452.jpg', '/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', '/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg', '/mnt/data/29092025/17/40/image_29092025_17_40_36_30452.jpg', '/mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg /mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg /mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg /mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg /mnt/data/29092025/17/40/image_29092025_17_40_36_30452.jpg /mnt/data/29092025/17/39/image_29092025_17_40_05_29739.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 134.49182081222534 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:52:26.179262 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 148.25187587738037 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2), ('/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', 2), ('/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', '/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:55:03.428374 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2), ('/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', 2), ('/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', '/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', '/mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg /mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg /mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg /mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg /mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg /mnt/data/29092025/17/44/image_29092025_17_45_05_30100.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.199552297592163 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:55:38.625079 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.183286666870117 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:56:14.745220 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 17:59:03.518673 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2), ('/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', '/mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg /mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg /mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg /mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg /mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg /mnt/data/29092025/17/46/image_29092025_17_47_05_30142.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16808795928955 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 17:59:38.535288 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.8763964176178 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 18:02:02.742592 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2), ('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg /mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg /mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg /mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg /mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg /mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 135.58074641227722 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:04:26.302020 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.47309231758118 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2), ('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:06:50.562301 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 140.54874801635742 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:09:14.139217 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 129.69989132881165 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2), ('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:11:26.455719 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 127.25534868240356 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2), ('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:13:38.785838 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 140.5571858882904 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 18:16:02.983494 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2), ('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg /mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg /mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg /mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg /mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg /mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 134.93994855880737 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:18:26.721735 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.22552728652954 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2), ('/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', 2), ('/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', 2), ('/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', '/mnt/data/29092025/17/50/image_29092025_17_50_35_30314.jpg', '/mnt/data/29092025/17/48/image_29092025_17_49_06_30599.jpg', '/mnt/data/29092025/17/48/image_29092025_17_48_35_30347.jpg', '/mnt/data/29092025/17/47/image_29092025_17_48_05_29658.jpg', '/mnt/data/29092025/17/47/image_29092025_17_47_35_30277.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:20:50.034481 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.19072461128235 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:21:26.230116 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 140.58491349220276 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/20/image_29092025_18_21_06_30345.jpg', 2), ('/mnt/data/29092025/18/20/image_29092025_18_20_35_30342.jpg', 2), ('/mnt/data/29092025/18/19/image_29092025_18_20_05_29563.jpg', 2), ('/mnt/data/29092025/18/19/image_29092025_18_19_35_30295.jpg', 2), ('/mnt/data/29092025/18/18/image_29092025_18_19_05_30361.jpg', 2), ('/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/20/image_29092025_18_21_06_30345.jpg', '/mnt/data/29092025/18/20/image_29092025_18_20_35_30342.jpg', '/mnt/data/29092025/18/19/image_29092025_18_20_05_29563.jpg', '/mnt/data/29092025/18/19/image_29092025_18_19_35_30295.jpg', '/mnt/data/29092025/18/18/image_29092025_18_19_05_30361.jpg', '/mnt/data/29092025/17/58/image_29092025_17_59_05_30439.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:23:50.517394 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.21008849143982 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:24:26.732876 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 131.49821424484253 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', 2), ('/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', 2), ('/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg', 2), ('/mnt/data/29092025/18/21/image_29092025_18_22_05_29535.jpg', 2), ('/mnt/data/29092025/18/21/image_29092025_18_21_35_29442.jpg', 2), ('/mnt/data/29092025/18/20/image_29092025_18_21_06_30345.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', '/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', '/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg', '/mnt/data/29092025/18/21/image_29092025_18_22_05_29535.jpg', '/mnt/data/29092025/18/21/image_29092025_18_21_35_29442.jpg', '/mnt/data/29092025/18/20/image_29092025_18_21_06_30345.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:26:49.974731 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 18:28:02.974294 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg', 2), ('/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', 2), ('/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', 2), ('/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg', 2), ('/mnt/data/29092025/18/21/image_29092025_18_22_05_29535.jpg', 2), ('/mnt/data/29092025/18/21/image_29092025_18_21_35_29442.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg', '/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', '/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', '/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg', '/mnt/data/29092025/18/21/image_29092025_18_22_05_29535.jpg', '/mnt/data/29092025/18/21/image_29092025_18_21_35_29442.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg', '/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', '/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', '/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg', '/mnt/data/29092025/18/21/image_29092025_18_22_05_29535.jpg', '/mnt/data/29092025/18/21/image_29092025_18_21_35_29442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg /mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg /mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg /mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg /mnt/data/29092025/18/21/image_29092025_18_22_05_29535.jpg /mnt/data/29092025/18/21/image_29092025_18_21_35_29442.jpg uploaded 0 photos time to upload: 30.176555633544922 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 18:29:03.324190 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/18/27/image_29092025_18_28_05_29358.jpg', 2), ('/mnt/data/29092025/18/27/image_29092025_18_27_35_30287.jpg', 2), ('/mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg', 2), ('/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', 2), ('/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', 2), ('/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/27/image_29092025_18_28_05_29358.jpg', '/mnt/data/29092025/18/27/image_29092025_18_27_35_30287.jpg', '/mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg', '/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', '/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', '/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/18/27/image_29092025_18_28_05_29358.jpg', '/mnt/data/29092025/18/27/image_29092025_18_27_35_30287.jpg', '/mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg', '/mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg', '/mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg', '/mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/18/27/image_29092025_18_28_05_29358.jpg /mnt/data/29092025/18/27/image_29092025_18_27_35_30287.jpg /mnt/data/29092025/18/23/image_29092025_18_24_05_29439.jpg /mnt/data/29092025/18/23/image_29092025_18_23_35_30412.jpg /mnt/data/29092025/18/22/image_29092025_18_23_05_29565.jpg /mnt/data/29092025/18/22/image_29092025_18_22_35_30912.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 131.87908339500427 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:31:26.566855 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 141.00812602043152 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/30/image_29092025_18_31_05_30742.jpg', 2), ('/mnt/data/29092025/18/30/image_29092025_18_30_35_29316.jpg', 2), ('/mnt/data/29092025/18/29/image_29092025_18_30_05_30868.jpg', 2), ('/mnt/data/29092025/18/29/image_29092025_18_29_35_29079.jpg', 2), ('/mnt/data/29092025/18/28/image_29092025_18_29_05_30411.jpg', 2), ('/mnt/data/29092025/18/28/image_29092025_18_28_35_30303.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/30/image_29092025_18_31_05_30742.jpg', '/mnt/data/29092025/18/30/image_29092025_18_30_35_29316.jpg', '/mnt/data/29092025/18/29/image_29092025_18_30_05_30868.jpg', '/mnt/data/29092025/18/29/image_29092025_18_29_35_29079.jpg', '/mnt/data/29092025/18/28/image_29092025_18_29_05_30411.jpg', '/mnt/data/29092025/18/28/image_29092025_18_28_35_30303.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:33:49.872709 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.49444913864136 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:36:14.333184 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.161658763885498 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/35/image_29092025_18_36_05_29421.jpg', 2), ('/mnt/data/29092025/18/35/image_29092025_18_35_35_29570.jpg', 2), ('/mnt/data/29092025/18/34/image_29092025_18_35_06_30965.jpg', 2), ('/mnt/data/29092025/18/34/image_29092025_18_34_35_29548.jpg', 2), ('/mnt/data/29092025/18/33/image_29092025_18_34_05_30023.jpg', 2), ('/mnt/data/29092025/18/32/image_29092025_18_32_35_29515.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/35/image_29092025_18_36_05_29421.jpg', '/mnt/data/29092025/18/35/image_29092025_18_35_35_29570.jpg', '/mnt/data/29092025/18/34/image_29092025_18_35_06_30965.jpg', '/mnt/data/29092025/18/34/image_29092025_18_34_35_29548.jpg', '/mnt/data/29092025/18/33/image_29092025_18_34_05_30023.jpg', '/mnt/data/29092025/18/32/image_29092025_18_32_35_29515.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:36:50.326948 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 143.46793913841248 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:39:14.766726 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.12154006958008 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/38/image_29092025_18_39_05_29582.jpg', 2), ('/mnt/data/29092025/18/38/image_29092025_18_38_35_29788.jpg', 2), ('/mnt/data/29092025/18/37/image_29092025_18_38_05_29630.jpg', 2), ('/mnt/data/29092025/18/37/image_29092025_18_37_36_30833.jpg', 2), ('/mnt/data/29092025/18/36/image_29092025_18_37_05_29679.jpg', 2), ('/mnt/data/29092025/18/36/image_29092025_18_36_35_30382.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/38/image_29092025_18_39_05_29582.jpg', '/mnt/data/29092025/18/38/image_29092025_18_38_35_29788.jpg', '/mnt/data/29092025/18/37/image_29092025_18_38_05_29630.jpg', '/mnt/data/29092025/18/37/image_29092025_18_37_36_30833.jpg', '/mnt/data/29092025/18/36/image_29092025_18_37_05_29679.jpg', '/mnt/data/29092025/18/36/image_29092025_18_36_35_30382.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:41:38.120211 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 148.76289415359497 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:44:14.548376 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/43/image_29092025_18_43_35_29518.jpg', 2), ('/mnt/data/29092025/18/42/image_29092025_18_43_05_30606.jpg', 2), ('/mnt/data/29092025/18/42/image_29092025_18_42_35_29355.jpg', 2), ('/mnt/data/29092025/18/41/image_29092025_18_42_05_30769.jpg', 2), ('/mnt/data/29092025/18/41/image_29092025_18_41_35_29327.jpg', 2), ('/mnt/data/29092025/18/40/image_29092025_18_41_05_30487.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/43/image_29092025_18_43_35_29518.jpg', '/mnt/data/29092025/18/42/image_29092025_18_43_05_30606.jpg', '/mnt/data/29092025/18/42/image_29092025_18_42_35_29355.jpg', '/mnt/data/29092025/18/41/image_29092025_18_42_05_30769.jpg', '/mnt/data/29092025/18/41/image_29092025_18_41_35_29327.jpg', '/mnt/data/29092025/18/40/image_29092025_18_41_05_30487.jpg'] batch 1 begin to post requests uploaded 0 photos time to upload: 16.636932134628296 secondes --- 400 MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:44:38.521210 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.5418770313263 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 18:47:02.702995 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/18/45/image_29092025_18_46_05_30005.jpg', 2), ('/mnt/data/29092025/18/45/image_29092025_18_45_35_29864.jpg', 2), ('/mnt/data/29092025/18/44/image_29092025_18_45_05_29574.jpg', 2), ('/mnt/data/29092025/18/44/image_29092025_18_44_35_30511.jpg', 2), ('/mnt/data/29092025/18/43/image_29092025_18_43_35_29518.jpg', 2), ('/mnt/data/29092025/18/42/image_29092025_18_43_05_30606.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/45/image_29092025_18_46_05_30005.jpg', '/mnt/data/29092025/18/45/image_29092025_18_45_35_29864.jpg', '/mnt/data/29092025/18/44/image_29092025_18_45_05_29574.jpg', '/mnt/data/29092025/18/44/image_29092025_18_44_35_30511.jpg', '/mnt/data/29092025/18/43/image_29092025_18_43_35_29518.jpg', '/mnt/data/29092025/18/42/image_29092025_18_43_05_30606.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/18/45/image_29092025_18_46_05_30005.jpg', '/mnt/data/29092025/18/45/image_29092025_18_45_35_29864.jpg', '/mnt/data/29092025/18/44/image_29092025_18_45_05_29574.jpg', '/mnt/data/29092025/18/44/image_29092025_18_44_35_30511.jpg', '/mnt/data/29092025/18/43/image_29092025_18_43_35_29518.jpg', '/mnt/data/29092025/18/42/image_29092025_18_43_05_30606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/18/45/image_29092025_18_46_05_30005.jpg /mnt/data/29092025/18/45/image_29092025_18_45_35_29864.jpg /mnt/data/29092025/18/44/image_29092025_18_45_05_29574.jpg /mnt/data/29092025/18/44/image_29092025_18_44_35_30511.jpg /mnt/data/29092025/18/43/image_29092025_18_43_35_29518.jpg /mnt/data/29092025/18/42/image_29092025_18_43_05_30606.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 132.5481414794922 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:49:26.327322 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 133.09607768058777 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/48/image_29092025_18_49_05_29872.jpg', 2), ('/mnt/data/29092025/18/48/image_29092025_18_48_35_30838.jpg', 2), ('/mnt/data/29092025/18/47/image_29092025_18_48_05_29873.jpg', 2), ('/mnt/data/29092025/18/47/image_29092025_18_47_35_29610.jpg', 2), ('/mnt/data/29092025/18/46/image_29092025_18_47_05_29661.jpg', 2), ('/mnt/data/29092025/18/46/image_29092025_18_46_35_30764.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/48/image_29092025_18_49_05_29872.jpg', '/mnt/data/29092025/18/48/image_29092025_18_48_35_30838.jpg', '/mnt/data/29092025/18/47/image_29092025_18_48_05_29873.jpg', '/mnt/data/29092025/18/47/image_29092025_18_47_35_29610.jpg', '/mnt/data/29092025/18/46/image_29092025_18_47_05_29661.jpg', '/mnt/data/29092025/18/46/image_29092025_18_46_35_30764.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:51:50.631944 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 140.89916372299194 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:54:14.207759 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.183104753494263 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/53/image_29092025_18_54_05_29988.jpg', 2), ('/mnt/data/29092025/18/53/image_29092025_18_53_35_29696.jpg', 2), ('/mnt/data/29092025/18/52/image_29092025_18_53_05_30368.jpg', 2), ('/mnt/data/29092025/18/52/image_29092025_18_52_35_30397.jpg', 2), ('/mnt/data/29092025/18/51/image_29092025_18_52_05_29444.jpg', 2), ('/mnt/data/29092025/18/51/image_29092025_18_51_35_30379.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/53/image_29092025_18_54_05_29988.jpg', '/mnt/data/29092025/18/53/image_29092025_18_53_35_29696.jpg', '/mnt/data/29092025/18/52/image_29092025_18_53_05_30368.jpg', '/mnt/data/29092025/18/52/image_29092025_18_52_35_30397.jpg', '/mnt/data/29092025/18/51/image_29092025_18_52_05_29444.jpg', '/mnt/data/29092025/18/51/image_29092025_18_51_35_30379.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:54:50.219469 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.29161143302917 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:57:14.710216 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.163997411727905 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/18/56/image_29092025_18_57_05_30720.jpg', 2), ('/mnt/data/29092025/18/56/image_29092025_18_56_35_29195.jpg', 2), ('/mnt/data/29092025/18/55/image_29092025_18_56_05_30594.jpg', 2), ('/mnt/data/29092025/18/55/image_29092025_18_55_35_29287.jpg', 2), ('/mnt/data/29092025/18/54/image_29092025_18_55_06_30990.jpg', 2), ('/mnt/data/29092025/18/54/image_29092025_18_54_35_29623.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/56/image_29092025_18_57_05_30720.jpg', '/mnt/data/29092025/18/56/image_29092025_18_56_35_29195.jpg', '/mnt/data/29092025/18/55/image_29092025_18_56_05_30594.jpg', '/mnt/data/29092025/18/55/image_29092025_18_55_35_29287.jpg', '/mnt/data/29092025/18/54/image_29092025_18_55_06_30990.jpg', '/mnt/data/29092025/18/54/image_29092025_18_54_35_29623.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 18:57:50.620223 in upload_from_sqlite, uploading in 27327521 Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 18:59:03.377238 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/18/57/image_29092025_18_58_05_30402.jpg', 2), ('/mnt/data/29092025/18/57/image_29092025_18_57_35_29260.jpg', 2), ('/mnt/data/29092025/18/56/image_29092025_18_57_05_30720.jpg', 2), ('/mnt/data/29092025/18/56/image_29092025_18_56_35_29195.jpg', 2), ('/mnt/data/29092025/18/55/image_29092025_18_56_05_30594.jpg', 2), ('/mnt/data/29092025/18/55/image_29092025_18_55_35_29287.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/18/57/image_29092025_18_58_05_30402.jpg', '/mnt/data/29092025/18/57/image_29092025_18_57_35_29260.jpg', '/mnt/data/29092025/18/56/image_29092025_18_57_05_30720.jpg', '/mnt/data/29092025/18/56/image_29092025_18_56_35_29195.jpg', '/mnt/data/29092025/18/55/image_29092025_18_56_05_30594.jpg', '/mnt/data/29092025/18/55/image_29092025_18_55_35_29287.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/18/57/image_29092025_18_58_05_30402.jpg', '/mnt/data/29092025/18/57/image_29092025_18_57_35_29260.jpg', '/mnt/data/29092025/18/56/image_29092025_18_57_05_30720.jpg', '/mnt/data/29092025/18/56/image_29092025_18_56_35_29195.jpg', '/mnt/data/29092025/18/55/image_29092025_18_56_05_30594.jpg', '/mnt/data/29092025/18/55/image_29092025_18_55_35_29287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/18/57/image_29092025_18_58_05_30402.jpg /mnt/data/29092025/18/57/image_29092025_18_57_35_29260.jpg /mnt/data/29092025/18/56/image_29092025_18_57_05_30720.jpg /mnt/data/29092025/18/56/image_29092025_18_56_35_29195.jpg /mnt/data/29092025/18/55/image_29092025_18_56_05_30594.jpg /mnt/data/29092025/18/55/image_29092025_18_55_35_29287.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 134.02626585960388 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:01:26.748491 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 134.18264031410217 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/00/image_29092025_19_01_05_30365.jpg', 2), ('/mnt/data/29092025/19/00/image_29092025_19_00_35_29479.jpg', 2), ('/mnt/data/29092025/18/59/image_29092025_19_00_05_29651.jpg', 2), ('/mnt/data/29092025/18/59/image_29092025_18_59_35_30612.jpg', 2), ('/mnt/data/29092025/18/58/image_29092025_18_59_05_29383.jpg', 2), ('/mnt/data/29092025/18/58/image_29092025_18_58_35_30418.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/00/image_29092025_19_01_05_30365.jpg', '/mnt/data/29092025/19/00/image_29092025_19_00_35_29479.jpg', '/mnt/data/29092025/18/59/image_29092025_19_00_05_29651.jpg', '/mnt/data/29092025/18/59/image_29092025_18_59_35_30612.jpg', '/mnt/data/29092025/18/58/image_29092025_18_59_05_29383.jpg', '/mnt/data/29092025/18/58/image_29092025_18_58_35_30418.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:03:50.068421 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.11161923408508 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:06:14.489140 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 127.31765079498291 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg', 2), ('/mnt/data/29092025/19/04/image_29092025_19_05_05_30754.jpg', 2), ('/mnt/data/29092025/19/04/image_29092025_19_04_35_29571.jpg', 2), ('/mnt/data/29092025/19/03/image_29092025_19_04_05_29612.jpg', 2), ('/mnt/data/29092025/19/03/image_29092025_19_03_35_30511.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', '/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg', '/mnt/data/29092025/19/04/image_29092025_19_05_05_30754.jpg', '/mnt/data/29092025/19/04/image_29092025_19_04_35_29571.jpg', '/mnt/data/29092025/19/03/image_29092025_19_04_05_29612.jpg', '/mnt/data/29092025/19/03/image_29092025_19_03_35_30511.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:08:26.791674 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 133.88685822486877 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', 2), ('/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', 2), ('/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', 2), ('/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', '/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', '/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', '/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', '/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', '/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:10:50.125112 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.178011178970337 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:11:26.271942 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.650879621505737 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', 2), ('/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', 2), ('/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', 2), ('/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', '/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', '/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', '/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', '/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', '/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 19:12:02.868289 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', 2), ('/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', 2), ('/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', 2), ('/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', 2), ('/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', '/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', '/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', '/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', '/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', '/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', '/mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg', '/mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg', '/mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg', '/mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg', '/mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg /mnt/data/29092025/19/07/image_29092025_19_07_36_30826.jpg /mnt/data/29092025/19/06/image_29092025_19_07_05_29482.jpg /mnt/data/29092025/19/06/image_29092025_19_06_35_30515.jpg /mnt/data/29092025/19/05/image_29092025_19_06_05_29226.jpg /mnt/data/29092025/19/05/image_29092025_19_05_36_30338.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 135.77118825912476 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:14:25.910365 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.80889701843262 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/13/image_29092025_19_14_05_29992.jpg', 2), ('/mnt/data/29092025/19/13/image_29092025_19_13_35_28874.jpg', 2), ('/mnt/data/29092025/19/12/image_29092025_19_13_06_30406.jpg', 2), ('/mnt/data/29092025/19/12/image_29092025_19_12_35_30348.jpg', 2), ('/mnt/data/29092025/19/08/image_29092025_19_08_35_30032.jpg', 2), ('/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/13/image_29092025_19_14_05_29992.jpg', '/mnt/data/29092025/19/13/image_29092025_19_13_35_28874.jpg', '/mnt/data/29092025/19/12/image_29092025_19_13_06_30406.jpg', '/mnt/data/29092025/19/12/image_29092025_19_12_35_30348.jpg', '/mnt/data/29092025/19/08/image_29092025_19_08_35_30032.jpg', '/mnt/data/29092025/19/07/image_29092025_19_08_05_28910.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:16:50.224051 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.81922316551208 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:19:14.696167 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.179147958755493 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg', 2), ('/mnt/data/29092025/19/16/image_29092025_19_17_06_30827.jpg', 2), ('/mnt/data/29092025/19/16/image_29092025_19_16_35_29326.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', '/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', '/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', '/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg', '/mnt/data/29092025/19/16/image_29092025_19_17_06_30827.jpg', '/mnt/data/29092025/19/16/image_29092025_19_16_35_29326.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:19:50.775882 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.187235593795776 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:20:25.908636 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 143.3544282913208 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', '/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', '/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', '/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:22:50.254257 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 145.35708045959473 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:25:26.676787 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 135.31026148796082 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg', 2), ('/mnt/data/29092025/19/24/image_29092025_19_24_35_30577.jpg', 2), ('/mnt/data/29092025/19/23/image_29092025_19_24_05_29809.jpg', 2), ('/mnt/data/29092025/19/23/image_29092025_19_23_35_29570.jpg', 2), ('/mnt/data/29092025/19/22/image_29092025_19_23_06_30925.jpg', 2), ('/mnt/data/29092025/19/22/image_29092025_19_22_35_29294.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg', '/mnt/data/29092025/19/24/image_29092025_19_24_35_30577.jpg', '/mnt/data/29092025/19/23/image_29092025_19_24_05_29809.jpg', '/mnt/data/29092025/19/23/image_29092025_19_23_35_29570.jpg', '/mnt/data/29092025/19/22/image_29092025_19_23_06_30925.jpg', '/mnt/data/29092025/19/22/image_29092025_19_22_35_29294.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:27:49.937383 in upload_from_sqlite, uploading in 27327521 Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 19:29:02.829694 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', 2), ('/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', 2), ('/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', 2), ('/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', '/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg', '/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', '/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', '/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', '/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', '/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg', '/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', '/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', '/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', '/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg /mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg /mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg /mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg /mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg /mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 132.77402591705322 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:31:26.109502 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.19741415977478 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg', 2), ('/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', 2), ('/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg', 2), ('/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', 2), ('/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', '/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg', '/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', '/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg', '/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', '/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:33:50.402913 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 148.13660049438477 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:36:25.869303 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 128.32987761497498 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg', 2), ('/mnt/data/29092025/19/34/image_29092025_19_35_05_30242.jpg', 2), ('/mnt/data/29092025/19/34/image_29092025_19_34_35_29247.jpg', 2), ('/mnt/data/29092025/19/30/image_29092025_19_31_05_30581.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', '/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg', '/mnt/data/29092025/19/34/image_29092025_19_35_05_30242.jpg', '/mnt/data/29092025/19/34/image_29092025_19_34_35_29247.jpg', '/mnt/data/29092025/19/30/image_29092025_19_31_05_30581.jpg', '/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:38:38.295415 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.08068418502808 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 19:41:03.506226 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/39/image_29092025_19_40_05_30816.jpg', 2), ('/mnt/data/29092025/19/39/image_29092025_19_39_35_29250.jpg', 2), ('/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', 2), ('/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', 2), ('/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', 2), ('/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/39/image_29092025_19_40_05_30816.jpg', '/mnt/data/29092025/19/39/image_29092025_19_39_35_29250.jpg', '/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', '/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', '/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', '/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/39/image_29092025_19_40_05_30816.jpg', '/mnt/data/29092025/19/39/image_29092025_19_39_35_29250.jpg', '/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', '/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', '/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', '/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/39/image_29092025_19_40_05_30816.jpg /mnt/data/29092025/19/39/image_29092025_19_39_35_29250.jpg /mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg /mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg /mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg /mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 130.21452713012695 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:43:25.940213 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.5310161113739 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg', 2), ('/mnt/data/29092025/19/41/image_29092025_19_42_05_29688.jpg', 2), ('/mnt/data/29092025/19/41/image_29092025_19_41_35_30722.jpg', 2), ('/mnt/data/29092025/19/40/image_29092025_19_41_05_29820.jpg', 2), ('/mnt/data/29092025/19/40/image_29092025_19_40_35_29222.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', '/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg', '/mnt/data/29092025/19/41/image_29092025_19_42_05_29688.jpg', '/mnt/data/29092025/19/41/image_29092025_19_41_35_30722.jpg', '/mnt/data/29092025/19/40/image_29092025_19_41_05_29820.jpg', '/mnt/data/29092025/19/40/image_29092025_19_40_35_29222.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:45:50.339089 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17960214614868 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:46:26.500219 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.0429139137268 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/45/image_29092025_19_46_06_30614.jpg', 2), ('/mnt/data/29092025/19/45/image_29092025_19_45_35_29507.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/45/image_29092025_19_46_06_30614.jpg', '/mnt/data/29092025/19/45/image_29092025_19_45_35_29507.jpg', '/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', '/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:48:49.921873 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 139.4798562526703 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:51:14.516904 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 139.00227975845337 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg', 2), ('/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg', '/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg', '/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', '/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', '/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:53:38.717872 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.70125913619995 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 19:56:02.840948 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', 2), ('/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', 2), ('/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', '/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', '/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', '/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', '/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', '/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', '/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg /mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg /mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg /mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg /mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg /mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18864417076111 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:56:38.158844 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.173981428146362 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 19:57:14.293432 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 19:59:03.001860 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/57/image_29092025_19_58_05_30715.jpg', 2), ('/mnt/data/29092025/19/57/image_29092025_19_57_35_29208.jpg', 2), ('/mnt/data/29092025/19/56/image_29092025_19_57_06_30517.jpg', 2), ('/mnt/data/29092025/19/56/image_29092025_19_56_35_30348.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/57/image_29092025_19_58_05_30715.jpg', '/mnt/data/29092025/19/57/image_29092025_19_57_35_29208.jpg', '/mnt/data/29092025/19/56/image_29092025_19_57_06_30517.jpg', '/mnt/data/29092025/19/56/image_29092025_19_56_35_30348.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/57/image_29092025_19_58_05_30715.jpg', '/mnt/data/29092025/19/57/image_29092025_19_57_35_29208.jpg', '/mnt/data/29092025/19/56/image_29092025_19_57_06_30517.jpg', '/mnt/data/29092025/19/56/image_29092025_19_56_35_30348.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/57/image_29092025_19_58_05_30715.jpg /mnt/data/29092025/19/57/image_29092025_19_57_35_29208.jpg /mnt/data/29092025/19/56/image_29092025_19_57_06_30517.jpg /mnt/data/29092025/19/56/image_29092025_19_56_35_30348.jpg /mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg /mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 126.85372805595398 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:01:14.420726 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 135.46632719039917 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', 2), ('/mnt/data/29092025/20/00/image_29092025_20_00_35_29898.jpg', 2), ('/mnt/data/29092025/19/59/image_29092025_20_00_05_29870.jpg', 2), ('/mnt/data/29092025/19/59/image_29092025_19_59_36_29819.jpg', 2), ('/mnt/data/29092025/19/58/image_29092025_19_59_06_30971.jpg', 2), ('/mnt/data/29092025/19/58/image_29092025_19_58_35_29253.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', '/mnt/data/29092025/20/00/image_29092025_20_00_35_29898.jpg', '/mnt/data/29092025/19/59/image_29092025_20_00_05_29870.jpg', '/mnt/data/29092025/19/59/image_29092025_19_59_36_29819.jpg', '/mnt/data/29092025/19/58/image_29092025_19_59_06_30971.jpg', '/mnt/data/29092025/19/58/image_29092025_19_58_35_29253.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:03:38.751316 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.188201427459717 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:04:13.916057 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 130.4431824684143 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/03/image_29092025_20_04_05_30823.jpg', 2), ('/mnt/data/29092025/20/02/image_29092025_20_03_05_29357.jpg', 2), ('/mnt/data/29092025/20/02/image_29092025_20_02_35_30580.jpg', 2), ('/mnt/data/29092025/20/01/image_29092025_20_02_05_29265.jpg', 2), ('/mnt/data/29092025/20/01/image_29092025_20_01_36_30510.jpg', 2), ('/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/03/image_29092025_20_04_05_30823.jpg', '/mnt/data/29092025/20/02/image_29092025_20_03_05_29357.jpg', '/mnt/data/29092025/20/02/image_29092025_20_02_35_30580.jpg', '/mnt/data/29092025/20/01/image_29092025_20_02_05_29265.jpg', '/mnt/data/29092025/20/01/image_29092025_20_01_36_30510.jpg', '/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:06:26.234740 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 130.9203760623932 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', 2), ('/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', 2), ('/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg', 2), ('/mnt/data/29092025/20/04/image_29092025_20_04_35_29479.jpg', 2), ('/mnt/data/29092025/20/03/image_29092025_20_04_05_30823.jpg', 2), ('/mnt/data/29092025/20/02/image_29092025_20_03_05_29357.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', '/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', '/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg', '/mnt/data/29092025/20/04/image_29092025_20_04_35_29479.jpg', '/mnt/data/29092025/20/03/image_29092025_20_04_05_30823.jpg', '/mnt/data/29092025/20/02/image_29092025_20_03_05_29357.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:08:38.593057 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 145.5020809173584 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:11:14.031708 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 131.2994511127472 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', '/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:13:26.321033 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 134.49718689918518 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', '/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', '/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', '/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', '/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:15:50.641803 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17524743080139 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:16:26.774626 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 129.67258858680725 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/15/image_29092025_20_16_05_28948.jpg', 2), ('/mnt/data/29092025/20/15/image_29092025_20_15_36_30888.jpg', 2), ('/mnt/data/29092025/20/14/image_29092025_20_15_05_29733.jpg', 2), ('/mnt/data/29092025/20/14/image_29092025_20_14_35_29348.jpg', 2), ('/mnt/data/29092025/20/13/image_29092025_20_14_06_30524.jpg', 2), ('/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/15/image_29092025_20_16_05_28948.jpg', '/mnt/data/29092025/20/15/image_29092025_20_15_36_30888.jpg', '/mnt/data/29092025/20/14/image_29092025_20_15_05_29733.jpg', '/mnt/data/29092025/20/14/image_29092025_20_14_35_29348.jpg', '/mnt/data/29092025/20/13/image_29092025_20_14_06_30524.jpg', '/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:18:38.068770 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 142.58648777008057 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:21:03.240514 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg', 2), ('/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg', 2), ('/mnt/data/29092025/20/18/image_29092025_20_19_05_30684.jpg', 2), ('/mnt/data/29092025/20/18/image_29092025_20_18_35_29119.jpg', 2), ('/mnt/data/29092025/20/17/image_29092025_20_18_05_30643.jpg', 2), ('/mnt/data/29092025/20/17/image_29092025_20_17_35_29173.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg', '/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg', '/mnt/data/29092025/20/18/image_29092025_20_19_05_30684.jpg', '/mnt/data/29092025/20/18/image_29092025_20_18_35_29119.jpg', '/mnt/data/29092025/20/17/image_29092025_20_18_05_30643.jpg', '/mnt/data/29092025/20/17/image_29092025_20_17_35_29173.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg', '/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg', '/mnt/data/29092025/20/18/image_29092025_20_19_05_30684.jpg', '/mnt/data/29092025/20/18/image_29092025_20_18_35_29119.jpg', '/mnt/data/29092025/20/17/image_29092025_20_18_05_30643.jpg', '/mnt/data/29092025/20/17/image_29092025_20_17_35_29173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg /mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg /mnt/data/29092025/20/18/image_29092025_20_19_05_30684.jpg /mnt/data/29092025/20/18/image_29092025_20_18_35_29119.jpg /mnt/data/29092025/20/17/image_29092025_20_18_05_30643.jpg /mnt/data/29092025/20/17/image_29092025_20_17_35_29173.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.207844257354736 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:21:38.522167 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.176755666732788 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:22:14.724632 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 129.57459330558777 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', 2), ('/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg', 2), ('/mnt/data/29092025/20/20/image_29092025_20_21_05_29305.jpg', 2), ('/mnt/data/29092025/20/20/image_29092025_20_20_36_30293.jpg', 2), ('/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg', 2), ('/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', '/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg', '/mnt/data/29092025/20/20/image_29092025_20_21_05_29305.jpg', '/mnt/data/29092025/20/20/image_29092025_20_20_36_30293.jpg', '/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg', '/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:24:25.926231 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 144.8160924911499 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', 2), ('/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg', 2), ('/mnt/data/29092025/20/22/image_29092025_20_23_05_29437.jpg', 2), ('/mnt/data/29092025/20/22/image_29092025_20_22_35_30300.jpg', 2), ('/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', 2), ('/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', '/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg', '/mnt/data/29092025/20/22/image_29092025_20_23_05_29437.jpg', '/mnt/data/29092025/20/22/image_29092025_20_22_35_30300.jpg', '/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', '/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:27:03.076513 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', 2), ('/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', 2), ('/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', 2), ('/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', 2), ('/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', '/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', '/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', '/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', '/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', '/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', '/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', '/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', '/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg /mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg /mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg /mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg /mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg /mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:28:03.131941 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', 2), ('/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', 2), ('/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', '/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', '/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', '/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', '/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', '/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', '/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', '/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', '/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg /mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg /mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg /mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg /mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg /mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg after data_to_send, before sending request begin to post requests after request uploaded 0 photos time to upload: 38.90525507926941 secondes --- b'\n\n502 Proxy Error\n\n

Proxy Error

\n

The proxy server received an invalid\r\nresponse from an upstream server.
\r\nThe proxy server could not handle the request

Reason: Error reading from remote server

\n
\n
Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443
\n\n' 502 MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:29:03.282901 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', '/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg', '/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', '/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', '/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', '/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg', '/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', '/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', '/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg /mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg /mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg /mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg /mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg /mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.181306838989258 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:29:38.452013 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.176345109939575 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:30:14.605089 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 37.95260810852051 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', '/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', '/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', '/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg'] batch 1 begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:31:03.576924 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', '/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', '/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', '/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', '/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', '/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', '/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg /mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg /mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg /mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg /mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg /mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 50.5935537815094 secondes --- after data_to_send, before sending request begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:32:02.434946 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', 2), ('/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', '/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', '/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', '/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', '/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', '/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', '/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg /mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg /mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg /mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg /mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg /mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 51.06454038619995 secondes --- after data_to_send, before sending request begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:33:02.863548 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/31/image_29092025_20_31_36_30952.jpg', 2), ('/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', 2), ('/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/31/image_29092025_20_31_36_30952.jpg', '/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', '/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', '/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/31/image_29092025_20_31_36_30952.jpg', '/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', '/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', '/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/31/image_29092025_20_31_36_30952.jpg /mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg /mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg /mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg /mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg /mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 42.67443513870239 secondes --- after data_to_send, before sending request begin to post requests HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by ConnectTimeoutError(, 'Connection to assistance.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:33:49.994152 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.181856870651245 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:34:26.139312 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/31/image_29092025_20_31_36_30952.jpg', 2), ('/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', 2), ('/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', 2), ('/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/31/image_29092025_20_31_36_30952.jpg', '/mnt/data/29092025/20/30/image_29092025_20_31_05_29947.jpg', '/mnt/data/29092025/20/30/image_29092025_20_30_35_29821.jpg', '/mnt/data/29092025/20/29/image_29092025_20_30_05_29835.jpg', '/mnt/data/29092025/20/29/image_29092025_20_29_35_30273.jpg', '/mnt/data/29092025/20/28/image_29092025_20_29_04_29847.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 59.452357053756714 secondes --- MMMMMM fin de la fonction upload val : 1 : upload photos already in processing! Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:35:38.290649 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', 2), ('/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', 2), ('/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', 2), ('/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', 2), ('/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/00/image_29092025_00_00_35_29806.jpg', '/mnt/data/29092025/00/06/image_29092025_00_06_35_29814.jpg', '/mnt/data/29092025/00/12/image_29092025_00_12_35_29761.jpg', '/mnt/data/29092025/00/16/image_29092025_00_16_35_29730.jpg', '/mnt/data/29092025/00/16/image_29092025_00_17_06_31107.jpg', '/mnt/data/29092025/00/17/image_29092025_00_18_05_29813.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 67.94961810112 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:36:50.413992 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17588233947754 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:37:26.549704 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/36/image_29092025_20_37_05_29382.jpg', 2), ('/mnt/data/29092025/20/36/image_29092025_20_36_35_30659.jpg', 2), ('/mnt/data/29092025/20/31/image_29092025_20_32_05_29571.jpg', 2), ('/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', 2), ('/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/36/image_29092025_20_37_05_29382.jpg', '/mnt/data/29092025/20/36/image_29092025_20_36_35_30659.jpg', '/mnt/data/29092025/20/31/image_29092025_20_32_05_29571.jpg', '/mnt/data/29092025/20/28/image_29092025_20_28_35_29405.jpg', '/mnt/data/29092025/20/27/image_29092025_20_28_05_30746.jpg', '/mnt/data/29092025/20/27/image_29092025_20_27_35_29400.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 53.86986970901489 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:38:26.726871 in upload_from_sqlite, uploading in 27327521 uploaded 0 photos time to upload: 9.725849151611328 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/37/image_29092025_20_38_05_29536.jpg', 2), ('/mnt/data/29092025/20/37/image_29092025_20_37_35_30344.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/37/image_29092025_20_38_05_29536.jpg', '/mnt/data/29092025/20/37/image_29092025_20_37_35_30344.jpg', '/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', '/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', '/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg'] batch 1 begin to post requests ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:38:38.702056 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17727041244507 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:39:13.864435 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/38/image_29092025_20_39_05_30494.jpg', 2), ('/mnt/data/29092025/20/38/image_29092025_20_38_35_30291.jpg', 2), ('/mnt/data/29092025/20/37/image_29092025_20_38_05_29536.jpg', 2), ('/mnt/data/29092025/20/37/image_29092025_20_37_35_30344.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', 2), ('/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/38/image_29092025_20_39_05_30494.jpg', '/mnt/data/29092025/20/38/image_29092025_20_38_35_30291.jpg', '/mnt/data/29092025/20/37/image_29092025_20_38_05_29536.jpg', '/mnt/data/29092025/20/37/image_29092025_20_37_35_30344.jpg', '/mnt/data/29092025/20/26/image_29092025_20_27_05_30639.jpg', '/mnt/data/29092025/20/26/image_29092025_20_26_35_29201.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 46.849727630615234 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:40:02.786273 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', 2), ('/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', 2), ('/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', 2), ('/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', 2), ('/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', 2), ('/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', '/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', '/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', '/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', '/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg', '/mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg', '/mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg', '/mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg', '/mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg', '/mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/25/image_29092025_20_26_05_30551.jpg /mnt/data/29092025/20/25/image_29092025_20_25_35_29364.jpg /mnt/data/29092025/20/24/image_29092025_20_25_06_30401.jpg /mnt/data/29092025/20/24/image_29092025_20_24_35_30472.jpg /mnt/data/29092025/20/23/image_29092025_20_24_05_29662.jpg /mnt/data/29092025/20/23/image_29092025_20_23_35_30364.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386789055","1386789045","1386789060","1386789077","1386789071","1386789050"],"photo_ids_order":["1386789045","1386789050","1386789055","1386789060","1386789071","1386789077"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b08eb86a5eed1c110229ad6212dcf143.jpg","text":"TemporaryFile(/tmp/multipartBody6082287154998699256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171279449,"filename":"image_29092025_20_25_06_30401.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6592815bc57904fa638b97a29479c8da.jpg","text":"TemporaryFile(/tmp/multipartBody695458251574838220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171279449,"filename":"image_29092025_20_26_05_30551.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bcb041217838a7d0a5164effa9fed3ce.jpg","text":"TemporaryFile(/tmp/multipartBody6524325015221239437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171279449,"filename":"image_29092025_20_24_35_30472.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2040264167edca2815be3762d7ca6c45.jpg","text":"TemporaryFile(/tmp/multipartBody5871997976013740378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171279449,"filename":"image_29092025_20_23_35_30364.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5dc830f56d8f0702be5b905929db58e9.jpg","text":"TemporaryFile(/tmp/multipartBody9076043943571041999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171279449,"filename":"image_29092025_20_24_05_29662.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bf2c44fdfcce8b979d419d517d05d65b.jpg","text":"TemporaryFile(/tmp/multipartBody165720021515258644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171279449,"filename":"image_29092025_20_25_35_29364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789055","file1":"1386789050","file0":"1386789045","file4":"1386789071","file5":"1386789077","file3":"1386789060"},"map_files_photo_id_array":[{"photo_id":"1386789077","filename":"file5"},{"photo_id":"1386789055","filename":"file2"},{"photo_id":"1386789071","filename":"file4"},{"photo_id":"1386789050","filename":"file1"},{"photo_id":"1386789045","filename":"file0"},{"photo_id":"1386789060","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386789055":["hashtag1","hashtag2"]},{"1386789045":["hashtag1","hashtag2"]},{"1386789060":["hashtag1","hashtag2"]},{"1386789077":["hashtag1","hashtag2"]},{"1386789071":["hashtag1","hashtag2"]},{"1386789050":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386789055, 1386789045, 1386789060, 1386789077, 1386789071, 1386789050)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 57.37179398536682 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:41:02.965266 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/39/image_29092025_20_40_05_29936.jpg', 2), ('/mnt/data/29092025/20/39/image_29092025_20_39_35_29616.jpg', 2), ('/mnt/data/29092025/20/22/image_29092025_20_23_05_29437.jpg', 2), ('/mnt/data/29092025/20/22/image_29092025_20_22_35_30300.jpg', 2), ('/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', 2), ('/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/39/image_29092025_20_40_05_29936.jpg', '/mnt/data/29092025/20/39/image_29092025_20_39_35_29616.jpg', '/mnt/data/29092025/20/22/image_29092025_20_23_05_29437.jpg', '/mnt/data/29092025/20/22/image_29092025_20_22_35_30300.jpg', '/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', '/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/39/image_29092025_20_40_05_29936.jpg', '/mnt/data/29092025/20/39/image_29092025_20_39_35_29616.jpg', '/mnt/data/29092025/20/22/image_29092025_20_23_05_29437.jpg', '/mnt/data/29092025/20/22/image_29092025_20_22_35_30300.jpg', '/mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg', '/mnt/data/29092025/20/21/image_29092025_20_21_35_30469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/39/image_29092025_20_40_05_29936.jpg /mnt/data/29092025/20/39/image_29092025_20_39_35_29616.jpg /mnt/data/29092025/20/22/image_29092025_20_23_05_29437.jpg /mnt/data/29092025/20/22/image_29092025_20_22_35_30300.jpg /mnt/data/29092025/20/21/image_29092025_20_22_05_29474.jpg /mnt/data/29092025/20/21/image_29092025_20_21_35_30469.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 begin to post requests after request b'{"photo_ids":["1386789103","1386789106","1386789096","1386789109","1386789114","1386789098"],"photo_ids_order":["1386789096","1386789098","1386789103","1386789106","1386789109","1386789114"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b6ab32715c12e2972048498fe1af9e38.jpg","text":"TemporaryFile(/tmp/multipartBody5994732503381513311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171334265,"filename":"image_29092025_20_23_05_29437.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/64f240c4cca55dd9ce10cc5abcd266bd.jpg","text":"TemporaryFile(/tmp/multipartBody4092384910524749727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171334265,"filename":"image_29092025_20_22_35_30300.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3d197aae1f538b0679d753a35c754aea.jpg","text":"TemporaryFile(/tmp/multipartBody1717190892997235245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171334265,"filename":"image_29092025_20_40_05_29936.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/21cf1b15bc79f9762699005cf0e921c9.jpg","text":"TemporaryFile(/tmp/multipartBody8780645249765902590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171334265,"filename":"image_29092025_20_22_05_29474.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5c6f17353b7dcd7ebb883ca238e0e37f.jpg","text":"TemporaryFile(/tmp/multipartBody3827433266607581338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171334265,"filename":"image_29092025_20_21_35_30469.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/079bba3133f6ee0baee63a02c185efce.jpg","text":"TemporaryFile(/tmp/multipartBody273880568639341581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171334265,"filename":"image_29092025_20_39_35_29616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789103","file1":"1386789098","file0":"1386789096","file4":"1386789109","file5":"1386789114","file3":"1386789106"},"map_files_photo_id_array":[{"photo_id":"1386789114","filename":"file5"},{"photo_id":"1386789103","filename":"file2"},{"photo_id":"1386789109","filename":"file4"},{"photo_id":"1386789098","filename":"file1"},{"photo_id":"1386789096","filename":"file0"},{"photo_id":"1386789106","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386789103":["hashtag1","hashtag2"]},{"1386789106":["hashtag1","hashtag2"]},{"1386789096":["hashtag1","hashtag2"]},{"1386789109":["hashtag1","hashtag2"]},{"1386789114":["hashtag1","hashtag2"]},{"1386789098":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386789103, 1386789106, 1386789096, 1386789109, 1386789114, 1386789098)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 46.331735610961914 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:41:50.157868 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 143.28018164634705 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:44:14.634226 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.173365116119385 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', 2), ('/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', 2), ('/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', 2), ('/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg', 2), ('/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', 2), ('/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', '/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', '/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', '/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg', '/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', '/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:44:50.645921 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.189030408859253 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:45:26.775422 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.166849374771118 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/44/image_29092025_20_45_05_29905.jpg', 2), ('/mnt/data/29092025/20/44/image_29092025_20_44_35_29691.jpg', 2), ('/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', 2), ('/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', 2), ('/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', 2), ('/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/44/image_29092025_20_45_05_29905.jpg', '/mnt/data/29092025/20/44/image_29092025_20_44_35_29691.jpg', '/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', '/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', '/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', '/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:46:02.590704 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/44/image_29092025_20_45_05_29905.jpg', 2), ('/mnt/data/29092025/20/44/image_29092025_20_44_35_29691.jpg', 2), ('/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', 2), ('/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', 2), ('/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', 2), ('/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/44/image_29092025_20_45_05_29905.jpg', '/mnt/data/29092025/20/44/image_29092025_20_44_35_29691.jpg', '/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', '/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', '/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', '/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/44/image_29092025_20_45_05_29905.jpg', '/mnt/data/29092025/20/44/image_29092025_20_44_35_29691.jpg', '/mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg', '/mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg', '/mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg', '/mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/44/image_29092025_20_45_05_29905.jpg /mnt/data/29092025/20/44/image_29092025_20_44_35_29691.jpg /mnt/data/29092025/20/43/image_29092025_20_44_05_29897.jpg /mnt/data/29092025/20/43/image_29092025_20_43_35_30717.jpg /mnt/data/29092025/20/42/image_29092025_20_43_05_29235.jpg /mnt/data/29092025/20/42/image_29092025_20_42_35_30931.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386789436","1386789482","1386789479","1386789458","1386789452","1386789419"],"photo_ids_order":["1386789419","1386789436","1386789452","1386789458","1386789479","1386789482"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a1c0edcf563b7ce7c000d979870fca64.jpg","text":"TemporaryFile(/tmp/multipartBody4040788475405893421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171635814,"filename":"image_29092025_20_44_35_29691.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/53d2a74aeb3f24daf4d5147167346c69.jpg","text":"TemporaryFile(/tmp/multipartBody1624723838572049176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171635814,"filename":"image_29092025_20_42_35_30931.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/cf32815b3223bc3587f6307b5006e5fe.jpg","text":"TemporaryFile(/tmp/multipartBody7357565986519563064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171635814,"filename":"image_29092025_20_43_05_29235.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7fd86488faffb177218ef20855341432.jpg","text":"TemporaryFile(/tmp/multipartBody700876545394108616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171635814,"filename":"image_29092025_20_43_35_30717.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6dea09269447e1c4a73acbd5a0ed74e9.jpg","text":"TemporaryFile(/tmp/multipartBody184194975642809348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171635814,"filename":"image_29092025_20_44_05_29897.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b88a6690d05fcd822cafea710e200809.jpg","text":"TemporaryFile(/tmp/multipartBody4164112527273782926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759171635814,"filename":"image_29092025_20_45_05_29905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386789452","file1":"1386789436","file0":"1386789419","file4":"1386789479","file5":"1386789482","file3":"1386789458"},"map_files_photo_id_array":[{"photo_id":"1386789482","filename":"file5"},{"photo_id":"1386789452","filename":"file2"},{"photo_id":"1386789479","filename":"file4"},{"photo_id":"1386789436","filename":"file1"},{"photo_id":"1386789419","filename":"file0"},{"photo_id":"1386789458","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386789436":["hashtag1","hashtag2"]},{"1386789482":["hashtag1","hashtag2"]},{"1386789479":["hashtag1","hashtag2"]},{"1386789458":["hashtag1","hashtag2"]},{"1386789452":["hashtag1","hashtag2"]},{"1386789419":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386789436, 1386789482, 1386789479, 1386789458, 1386789452, 1386789419)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 47.1930365562439 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:47:02.879744 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', 2), ('/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', 2), ('/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg', 2), ('/mnt/data/29092025/20/40/image_29092025_20_41_05_30875.jpg', 2), ('/mnt/data/29092025/20/40/image_29092025_20_40_35_29652.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', '/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', '/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', '/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg', '/mnt/data/29092025/20/40/image_29092025_20_41_05_30875.jpg', '/mnt/data/29092025/20/40/image_29092025_20_40_35_29652.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', '/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', '/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', '/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg', '/mnt/data/29092025/20/40/image_29092025_20_41_05_30875.jpg', '/mnt/data/29092025/20/40/image_29092025_20_40_35_29652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg /mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg /mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg /mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg /mnt/data/29092025/20/40/image_29092025_20_41_05_30875.jpg /mnt/data/29092025/20/40/image_29092025_20_40_35_29652.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.19053602218628 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:47:38.058256 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.182903289794922 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:48:14.151640 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.171240091323853 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', '/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', '/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', '/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', '/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:48:50.157519 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.178731679916382 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:49:26.291605 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.182600259780884 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', '/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', '/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:50:03.124856 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', '/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', '/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', '/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', '/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg /mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg /mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg /mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg /mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg /mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18248987197876 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:50:38.431872 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', 2), ('/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', 2), ('/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', 2), ('/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', 2), ('/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', 2), ('/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/00/18/image_29092025_00_18_35_29777.jpg', '/mnt/data/29092025/00/20/image_29092025_00_20_35_29800.jpg', '/mnt/data/29092025/00/30/image_29092025_00_30_35_30165.jpg', '/mnt/data/29092025/00/47/image_29092025_00_47_36_31006.jpg', '/mnt/data/29092025/00/49/image_29092025_00_49_35_30067.jpg', '/mnt/data/29092025/01/12/image_29092025_01_12_35_30964.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 65.90440058708191 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:51:50.770822 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.229954957962036 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:52:25.906591 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18441867828369 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', '/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:53:03.003871 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', '/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', '/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg /mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg /mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg /mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg /mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg /mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.395050287246704 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:53:38.176924 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 32.11097002029419 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:54:14.405204 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.188947916030884 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', 2), ('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', '/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:54:50.411365 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17964196205139 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:55:26.686303 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.183541297912598 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', 2), ('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', '/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:56:03.438273 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', 2), ('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', '/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', '/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg /mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg /mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg /mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg /mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg /mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.188610792160034 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:56:38.749519 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.220940589904785 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:57:13.896144 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.1858811378479 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/56/image_29092025_20_56_35_29930.jpg', 2), ('/mnt/data/29092025/20/54/image_29092025_20_55_06_29964.jpg', 2), ('/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', 2), ('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/56/image_29092025_20_56_35_29930.jpg', '/mnt/data/29092025/20/54/image_29092025_20_55_06_29964.jpg', '/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', '/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 20:57:49.900668 in upload_from_sqlite, uploading in 27327521 Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 20:59:02.941388 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/57/image_29092025_20_57_35_29887.jpg', 2), ('/mnt/data/29092025/20/56/image_29092025_20_56_35_29930.jpg', 2), ('/mnt/data/29092025/20/54/image_29092025_20_55_06_29964.jpg', 2), ('/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', 2), ('/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/57/image_29092025_20_57_35_29887.jpg', '/mnt/data/29092025/20/56/image_29092025_20_56_35_29930.jpg', '/mnt/data/29092025/20/54/image_29092025_20_55_06_29964.jpg', '/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', '/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/57/image_29092025_20_57_35_29887.jpg', '/mnt/data/29092025/20/56/image_29092025_20_56_35_29930.jpg', '/mnt/data/29092025/20/54/image_29092025_20_55_06_29964.jpg', '/mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg', '/mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg', '/mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/57/image_29092025_20_57_35_29887.jpg /mnt/data/29092025/20/56/image_29092025_20_56_35_29930.jpg /mnt/data/29092025/20/54/image_29092025_20_55_06_29964.jpg /mnt/data/29092025/20/53/image_29092025_20_54_05_29895.jpg /mnt/data/29092025/20/52/image_29092025_20_53_05_29911.jpg /mnt/data/29092025/20/52/image_29092025_20_52_35_29821.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386790441","1386790450","1386790435","1386790455","1386790443","1386790439"],"photo_ids_order":["1386790435","1386790439","1386790441","1386790443","1386790450","1386790455"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/969f483ea38340015884f9fb1285eea9.jpg","text":"TemporaryFile(/tmp/multipartBody2473275885937911088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172428098,"filename":"image_29092025_20_55_06_29964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7e2ab211d2ea8de7972ea82258f900d1.jpg","text":"TemporaryFile(/tmp/multipartBody7829247943817506727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172428098,"filename":"image_29092025_20_53_05_29911.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/360c713d8fd333b96421d32b46169ad0.jpg","text":"TemporaryFile(/tmp/multipartBody1075809033591381528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172428098,"filename":"image_29092025_20_57_35_29887.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6c11fd99389d05ee93f98d2199fa264c.jpg","text":"TemporaryFile(/tmp/multipartBody351097899624546150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172428098,"filename":"image_29092025_20_52_35_29821.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e89079fc31ab3698b19e9a3457ace237.jpg","text":"TemporaryFile(/tmp/multipartBody5365144794173202457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172428098,"filename":"image_29092025_20_54_05_29895.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e65d510ef743f32186d7c1001c342fe9.jpg","text":"TemporaryFile(/tmp/multipartBody6812584101080199888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759172428098,"filename":"image_29092025_20_56_35_29930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386790441","file1":"1386790439","file0":"1386790435","file4":"1386790450","file5":"1386790455","file3":"1386790443"},"map_files_photo_id_array":[{"photo_id":"1386790455","filename":"file5"},{"photo_id":"1386790441","filename":"file2"},{"photo_id":"1386790450","filename":"file4"},{"photo_id":"1386790439","filename":"file1"},{"photo_id":"1386790435","filename":"file0"},{"photo_id":"1386790443","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386790441":["hashtag1","hashtag2"]},{"1386790450":["hashtag1","hashtag2"]},{"1386790435":["hashtag1","hashtag2"]},{"1386790455":["hashtag1","hashtag2"]},{"1386790443":["hashtag1","hashtag2"]},{"1386790439":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386790441, 1386790450, 1386790435, 1386790455, 1386790443, 1386790439)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 60.470834732055664 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:00:14.063750 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.189566135406494 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/59/image_29092025_21_00_06_30112.jpg', 2), ('/mnt/data/29092025/20/58/image_29092025_20_59_06_30937.jpg', 2), ('/mnt/data/29092025/20/58/image_29092025_20_58_35_29782.jpg', 2), ('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/59/image_29092025_21_00_06_30112.jpg', '/mnt/data/29092025/20/58/image_29092025_20_59_06_30937.jpg', '/mnt/data/29092025/20/58/image_29092025_20_58_35_29782.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:00:50.021961 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.184914112091064 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:01:26.187733 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/59/image_29092025_21_00_06_30112.jpg', 2), ('/mnt/data/29092025/20/58/image_29092025_20_59_06_30937.jpg', 2), ('/mnt/data/29092025/20/58/image_29092025_20_58_35_29782.jpg', 2), ('/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', 2), ('/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/59/image_29092025_21_00_06_30112.jpg', '/mnt/data/29092025/20/58/image_29092025_20_59_06_30937.jpg', '/mnt/data/29092025/20/58/image_29092025_20_58_35_29782.jpg', '/mnt/data/29092025/20/51/image_29092025_20_52_05_29848.jpg', '/mnt/data/29092025/20/50/image_29092025_20_51_05_29833.jpg', '/mnt/data/29092025/20/50/image_29092025_20_50_36_30981.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 61.92152118682861 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:02:38.349267 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.176652193069458 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:03:14.500891 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.173818826675415 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:03:50.460920 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', 2), ('/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', 2), ('/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', 2), ('/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', 2), ('/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', 2), ('/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/18/image_29092025_01_19_05_29780.jpg', '/mnt/data/29092025/01/20/image_29092025_01_20_35_29776.jpg', '/mnt/data/29092025/01/30/image_29092025_01_30_36_31011.jpg', '/mnt/data/29092025/01/42/image_29092025_01_42_35_29858.jpg', '/mnt/data/29092025/01/48/image_29092025_01_49_05_29852.jpg', '/mnt/data/29092025/01/49/image_29092025_01_49_35_29800.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 63.416465282440186 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:05:03.687732 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg /mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg /mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg /mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg /mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg /mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.187207460403442 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:05:38.799333 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.221935987472534 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:06:13.996092 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] batch 1 begin to post requests uploaded 0 photos time to upload: 23.644386529922485 secondes --- 400 MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:06:49.989614 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18146252632141 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:07:26.128117 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.176459789276123 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:08:02.879698 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg /mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg /mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg /mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg /mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg /mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18718981742859 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:08:38.275244 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests uploaded 0 photos time to upload: 25.495519161224365 secondes --- 400 MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:09:14.476089 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', 2), ('/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', 2), ('/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', 2), ('/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/49/image_29092025_20_50_05_28904.jpg', '/mnt/data/29092025/20/49/image_29092025_20_49_36_30477.jpg', '/mnt/data/29092025/20/48/image_29092025_20_49_05_29785.jpg', '/mnt/data/29092025/20/48/image_29092025_20_48_35_29819.jpg', '/mnt/data/29092025/20/47/image_29092025_20_48_06_29914.jpg', '/mnt/data/29092025/20/47/image_29092025_20_47_36_30772.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 54.814430236816406 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:10:14.635906 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16485071182251 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/00/image_29092025_21_00_35_29476.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', 2), ('/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/00/image_29092025_21_00_35_29476.jpg', '/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', '/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', '/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', '/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', '/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:10:50.597695 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.206177473068237 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:11:26.776761 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/00/image_29092025_21_00_35_29476.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', 2), ('/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', 2), ('/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', 2), ('/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/00/image_29092025_21_00_35_29476.jpg', '/mnt/data/29092025/20/46/image_29092025_20_47_05_29923.jpg', '/mnt/data/29092025/20/46/image_29092025_20_46_35_29735.jpg', '/mnt/data/29092025/20/45/image_29092025_20_46_05_29615.jpg', '/mnt/data/29092025/20/45/image_29092025_20_45_36_30680.jpg', '/mnt/data/29092025/20/41/image_29092025_20_42_05_29848.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 56.98770260810852 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:12:25.915105 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg', 2), ('/mnt/data/29092025/20/40/image_29092025_20_41_05_30875.jpg', 2), ('/mnt/data/29092025/20/40/image_29092025_20_40_35_29652.jpg', 2), ('/mnt/data/29092025/20/20/image_29092025_20_21_05_29305.jpg', 2), ('/mnt/data/29092025/20/20/image_29092025_20_20_36_30293.jpg', 2), ('/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/41/image_29092025_20_41_35_29249.jpg', '/mnt/data/29092025/20/40/image_29092025_20_41_05_30875.jpg', '/mnt/data/29092025/20/40/image_29092025_20_40_35_29652.jpg', '/mnt/data/29092025/20/20/image_29092025_20_21_05_29305.jpg', '/mnt/data/29092025/20/20/image_29092025_20_20_36_30293.jpg', '/mnt/data/29092025/20/19/image_29092025_20_20_05_30800.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 55.09278392791748 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:13:26.117072 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg', 2), ('/mnt/data/29092025/20/18/image_29092025_20_19_05_30684.jpg', 2), ('/mnt/data/29092025/20/18/image_29092025_20_18_35_29119.jpg', 2), ('/mnt/data/29092025/20/17/image_29092025_20_18_05_30643.jpg', 2), ('/mnt/data/29092025/20/17/image_29092025_20_17_35_29173.jpg', 2), ('/mnt/data/29092025/20/16/image_29092025_20_17_06_30604.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/19/image_29092025_20_19_35_29286.jpg', '/mnt/data/29092025/20/18/image_29092025_20_19_05_30684.jpg', '/mnt/data/29092025/20/18/image_29092025_20_18_35_29119.jpg', '/mnt/data/29092025/20/17/image_29092025_20_18_05_30643.jpg', '/mnt/data/29092025/20/17/image_29092025_20_17_35_29173.jpg', '/mnt/data/29092025/20/16/image_29092025_20_17_06_30604.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 44.963589668273926 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:14:14.246130 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.175869941711426 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/16/image_29092025_20_16_35_30513.jpg', 2), ('/mnt/data/29092025/20/15/image_29092025_20_16_05_28948.jpg', 2), ('/mnt/data/29092025/20/15/image_29092025_20_15_36_30888.jpg', 2), ('/mnt/data/29092025/20/14/image_29092025_20_15_05_29733.jpg', 2), ('/mnt/data/29092025/20/14/image_29092025_20_14_35_29348.jpg', 2), ('/mnt/data/29092025/20/13/image_29092025_20_14_06_30524.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/16/image_29092025_20_16_35_30513.jpg', '/mnt/data/29092025/20/15/image_29092025_20_16_05_28948.jpg', '/mnt/data/29092025/20/15/image_29092025_20_15_36_30888.jpg', '/mnt/data/29092025/20/14/image_29092025_20_15_05_29733.jpg', '/mnt/data/29092025/20/14/image_29092025_20_14_35_29348.jpg', '/mnt/data/29092025/20/13/image_29092025_20_14_06_30524.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:14:50.334090 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.197121143341064 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:15:26.488363 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/16/image_29092025_20_16_35_30513.jpg', 2), ('/mnt/data/29092025/20/15/image_29092025_20_16_05_28948.jpg', 2), ('/mnt/data/29092025/20/15/image_29092025_20_15_36_30888.jpg', 2), ('/mnt/data/29092025/20/14/image_29092025_20_15_05_29733.jpg', 2), ('/mnt/data/29092025/20/14/image_29092025_20_14_35_29348.jpg', 2), ('/mnt/data/29092025/20/13/image_29092025_20_14_06_30524.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/16/image_29092025_20_16_35_30513.jpg', '/mnt/data/29092025/20/15/image_29092025_20_16_05_28948.jpg', '/mnt/data/29092025/20/15/image_29092025_20_15_36_30888.jpg', '/mnt/data/29092025/20/14/image_29092025_20_15_05_29733.jpg', '/mnt/data/29092025/20/14/image_29092025_20_14_35_29348.jpg', '/mnt/data/29092025/20/13/image_29092025_20_14_06_30524.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 55.37692594528198 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:16:26.651766 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16262984275818 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', '/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', '/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', '/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', '/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', '/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:17:03.451436 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', '/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', '/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', '/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', '/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', '/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', '/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', '/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', '/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', '/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', '/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg /mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg /mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg /mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg /mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg /mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.206162691116333 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:17:38.775534 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.19852066040039 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:18:13.957378 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', 2), ('/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', 2), ('/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/13/image_29092025_20_13_35_30304.jpg', '/mnt/data/29092025/20/12/image_29092025_20_13_05_29312.jpg', '/mnt/data/29092025/20/12/image_29092025_20_12_35_30477.jpg', '/mnt/data/29092025/20/11/image_29092025_20_12_05_29466.jpg', '/mnt/data/29092025/20/11/image_29092025_20_11_36_30548.jpg', '/mnt/data/29092025/20/10/image_29092025_20_11_05_30227.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 45.89605975151062 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:19:02.963702 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', 2), ('/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', '/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', '/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', '/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', '/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg /mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg /mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg /mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg /mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg /mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.171005725860596 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:19:38.092448 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.20071291923523 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:20:14.226861 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.179773569107056 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:20:50.359887 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', 2), ('/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', 2), ('/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', 2), ('/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', 2), ('/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', 2), ('/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/01/50/image_29092025_01_50_35_29723.jpg', '/mnt/data/29092025/01/52/image_29092025_01_52_35_29847.jpg', '/mnt/data/29092025/02/00/image_29092025_02_00_36_30938.jpg', '/mnt/data/29092025/02/10/image_29092025_02_10_35_29676.jpg', '/mnt/data/29092025/02/20/image_29092025_02_20_35_29773.jpg', '/mnt/data/29092025/02/30/image_29092025_02_31_05_29852.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.88791227340698 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:21:50.496801 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.20380735397339 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', '/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', '/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', '/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', '/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', '/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:22:26.652685 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.1869797706604 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:23:02.488005 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg /mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg /mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.198801040649414 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:23:37.872682 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', 2), ('/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', 2), ('/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', 2), ('/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', 2), ('/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/02/37/image_29092025_02_37_36_31002.jpg', '/mnt/data/29092025/02/38/image_29092025_02_39_05_29850.jpg', '/mnt/data/29092025/02/39/image_29092025_02_39_35_29759.jpg', '/mnt/data/29092025/02/39/image_29092025_02_40_06_31021.jpg', '/mnt/data/29092025/02/43/image_29092025_02_44_05_29730.jpg', '/mnt/data/29092025/02/44/image_29092025_02_45_05_29980.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 63.757545471191406 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:24:50.038109 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.244797468185425 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', '/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', '/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', '/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', '/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', '/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:25:26.203178 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.167699575424194 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:26:02.988159 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg /mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg /mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.166712999343872 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:26:38.333262 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.309692859649658 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', '/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', '/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', '/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', '/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', '/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:27:14.499506 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17484426498413 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:27:50.559196 in upload_from_sqlite, uploading in 27327521 Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:28:03.609580 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg /mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg /mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.42482304573059 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:29:03.019461 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2), ('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', '/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg /mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg /mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.196765899658203 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:29:37.981042 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17640972137451 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', '/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', '/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', '/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', '/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', '/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=30) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:30:14.140775 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/29/image_29092025_21_30_05_30267.jpg', 2), ('/mnt/data/29092025/21/29/image_29092025_21_29_35_29564.jpg', 2), ('/mnt/data/29092025/21/22/image_29092025_21_22_35_30793.jpg', 2), ('/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', 2), ('/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/29/image_29092025_21_30_05_30267.jpg', '/mnt/data/29092025/21/29/image_29092025_21_29_35_29564.jpg', '/mnt/data/29092025/21/22/image_29092025_21_22_35_30793.jpg', '/mnt/data/29092025/21/21/image_29092025_21_21_35_29772.jpg', '/mnt/data/29092025/21/20/image_29092025_21_21_05_29771.jpg', '/mnt/data/29092025/21/20/image_29092025_21_20_35_29686.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 61.841949462890625 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:31:26.245987 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.153666973114014 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:32:03.017928 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg /mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg /mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg /mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16156506538391 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:32:38.430114 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', 2), ('/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', 2), ('/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', 2), ('/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', 2), ('/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', 2), ('/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/02/58/image_29092025_02_59_06_31140.jpg', '/mnt/data/29092025/03/00/image_29092025_03_00_35_29733.jpg', '/mnt/data/29092025/03/04/image_29092025_03_05_05_29918.jpg', '/mnt/data/29092025/03/06/image_29092025_03_06_35_29920.jpg', '/mnt/data/29092025/03/10/image_29092025_03_11_06_30136.jpg', '/mnt/data/29092025/03/20/image_29092025_03_20_36_31058.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 61.39933252334595 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:33:50.525182 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.3426992893219 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:34:26.667768 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.167187929153442 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:35:02.519448 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg /mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg /mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg /mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.418771266937256 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:35:37.817899 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.205115795135498 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:36:13.977720 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 136.8493947982788 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:38:38.412821 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.206146240234375 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:39:14.601465 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.181568145751953 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:39:50.537745 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.1935555934906 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:40:26.669363 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.165576934814453 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:41:02.610220 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg /mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg /mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg /mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg /mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg /mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.184566736221313 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:41:37.780842 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.177542209625244 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:42:13.923435 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.15546226501465 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:42:49.964743 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18850874900818 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:43:26.092644 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', 2), ('/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', 2), ('/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', 2), ('/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', 2), ('/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/18/image_29092025_21_19_06_29854.jpg', '/mnt/data/29092025/21/10/image_29092025_21_10_35_29963.jpg', '/mnt/data/29092025/20/10/image_29092025_20_10_35_29347.jpg', '/mnt/data/29092025/20/09/image_29092025_20_10_05_30642.jpg', '/mnt/data/29092025/20/09/image_29092025_20_09_35_29210.jpg', '/mnt/data/29092025/20/07/image_29092025_20_08_05_29523.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 50.609410762786865 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:44:26.266683 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.222266912460327 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', 2), ('/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg', 2), ('/mnt/data/29092025/20/06/image_29092025_20_06_36_30812.jpg', 2), ('/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', 2), ('/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', 2), ('/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', '/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg', '/mnt/data/29092025/20/06/image_29092025_20_06_36_30812.jpg', '/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', '/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', '/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:45:03.177005 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', 2), ('/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg', 2), ('/mnt/data/29092025/20/06/image_29092025_20_06_36_30812.jpg', 2), ('/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', 2), ('/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', 2), ('/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', '/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg', '/mnt/data/29092025/20/06/image_29092025_20_06_36_30812.jpg', '/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', '/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', '/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg', '/mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg', '/mnt/data/29092025/20/06/image_29092025_20_06_36_30812.jpg', '/mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg', '/mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg', '/mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/20/07/image_29092025_20_07_35_30275.jpg /mnt/data/29092025/20/06/image_29092025_20_07_05_29553.jpg /mnt/data/29092025/20/06/image_29092025_20_06_36_30812.jpg /mnt/data/29092025/20/05/image_29092025_20_06_05_29726.jpg /mnt/data/29092025/20/05/image_29092025_20_05_35_29533.jpg /mnt/data/29092025/20/04/image_29092025_20_05_06_30760.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386792993","1386792984","1386793002","1386792998","1386792979","1386792988"],"photo_ids_order":["1386792979","1386792984","1386792988","1386792993","1386792998","1386793002"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/59d1d06b8b0572c3d1cb699e38c8c695.jpg","text":"TemporaryFile(/tmp/multipartBody6455946487081519544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175190163,"filename":"image_29092025_20_06_05_29726.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6841731622e4bc004d03fb77f483c0c4.jpg","text":"TemporaryFile(/tmp/multipartBody1228611173287896213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175190163,"filename":"image_29092025_20_07_05_29553.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0af41d82d8899446a19e8c3615833a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4801184102980546910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175190163,"filename":"image_29092025_20_05_06_30760.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8ba40a88637908685bd80b0dce81d8f7.jpg","text":"TemporaryFile(/tmp/multipartBody486698670174957904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175190163,"filename":"image_29092025_20_05_35_29533.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/001f1a6a6c62718e81a756827b0cf12c.jpg","text":"TemporaryFile(/tmp/multipartBody2641675885240171256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175190163,"filename":"image_29092025_20_07_35_30275.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/94e2412d2b01babe0704618668779023.jpg","text":"TemporaryFile(/tmp/multipartBody7077137256070980115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175190163,"filename":"image_29092025_20_06_36_30812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386792988","file1":"1386792984","file0":"1386792979","file4":"1386792998","file5":"1386793002","file3":"1386792993"},"map_files_photo_id_array":[{"photo_id":"1386793002","filename":"file5"},{"photo_id":"1386792988","filename":"file2"},{"photo_id":"1386792998","filename":"file4"},{"photo_id":"1386792984","filename":"file1"},{"photo_id":"1386792979","filename":"file0"},{"photo_id":"1386792993","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386792993":["hashtag1","hashtag2"]},{"1386792984":["hashtag1","hashtag2"]},{"1386793002":["hashtag1","hashtag2"]},{"1386792998":["hashtag1","hashtag2"]},{"1386792979":["hashtag1","hashtag2"]},{"1386792988":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386792993, 1386792984, 1386793002, 1386792998, 1386792979, 1386792988)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 60.705461263656616 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:46:14.701088 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/04/image_29092025_20_04_35_29479.jpg', 2), ('/mnt/data/29092025/20/03/image_29092025_20_04_05_30823.jpg', 2), ('/mnt/data/29092025/20/02/image_29092025_20_03_05_29357.jpg', 2), ('/mnt/data/29092025/20/02/image_29092025_20_02_35_30580.jpg', 2), ('/mnt/data/29092025/20/01/image_29092025_20_02_05_29265.jpg', 2), ('/mnt/data/29092025/20/01/image_29092025_20_01_36_30510.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/04/image_29092025_20_04_35_29479.jpg', '/mnt/data/29092025/20/03/image_29092025_20_04_05_30823.jpg', '/mnt/data/29092025/20/02/image_29092025_20_03_05_29357.jpg', '/mnt/data/29092025/20/02/image_29092025_20_02_35_30580.jpg', '/mnt/data/29092025/20/01/image_29092025_20_02_05_29265.jpg', '/mnt/data/29092025/20/01/image_29092025_20_01_36_30510.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 48.62736773490906 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:47:13.910579 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.15975308418274 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', 2), ('/mnt/data/29092025/20/00/image_29092025_20_00_35_29898.jpg', 2), ('/mnt/data/29092025/19/59/image_29092025_20_00_05_29870.jpg', 2), ('/mnt/data/29092025/19/59/image_29092025_19_59_36_29819.jpg', 2), ('/mnt/data/29092025/19/58/image_29092025_19_59_06_30971.jpg', 2), ('/mnt/data/29092025/19/58/image_29092025_19_58_35_29253.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', '/mnt/data/29092025/20/00/image_29092025_20_00_35_29898.jpg', '/mnt/data/29092025/19/59/image_29092025_20_00_05_29870.jpg', '/mnt/data/29092025/19/59/image_29092025_19_59_36_29819.jpg', '/mnt/data/29092025/19/58/image_29092025_19_59_06_30971.jpg', '/mnt/data/29092025/19/58/image_29092025_19_58_35_29253.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:47:49.821490 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.193742036819458 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:48:25.969694 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/30/image_29092025_21_30_35_29368.jpg', 2), ('/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', 2), ('/mnt/data/29092025/20/00/image_29092025_20_00_35_29898.jpg', 2), ('/mnt/data/29092025/19/59/image_29092025_20_00_05_29870.jpg', 2), ('/mnt/data/29092025/19/59/image_29092025_19_59_36_29819.jpg', 2), ('/mnt/data/29092025/19/58/image_29092025_19_59_06_30971.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/30/image_29092025_21_30_35_29368.jpg', '/mnt/data/29092025/20/00/image_29092025_20_01_05_29879.jpg', '/mnt/data/29092025/20/00/image_29092025_20_00_35_29898.jpg', '/mnt/data/29092025/19/59/image_29092025_20_00_05_29870.jpg', '/mnt/data/29092025/19/59/image_29092025_19_59_36_29819.jpg', '/mnt/data/29092025/19/58/image_29092025_19_59_06_30971.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 61.896140813827515 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:49:38.218873 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.20003652572632 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:50:14.360411 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/47/image_29092025_21_48_05_29768.jpg', 2), ('/mnt/data/29092025/19/58/image_29092025_19_58_35_29253.jpg', 2), ('/mnt/data/29092025/19/57/image_29092025_19_58_05_30715.jpg', 2), ('/mnt/data/29092025/19/57/image_29092025_19_57_35_29208.jpg', 2), ('/mnt/data/29092025/19/56/image_29092025_19_57_06_30517.jpg', 2), ('/mnt/data/29092025/19/56/image_29092025_19_56_35_30348.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/47/image_29092025_21_48_05_29768.jpg', '/mnt/data/29092025/19/58/image_29092025_19_58_35_29253.jpg', '/mnt/data/29092025/19/57/image_29092025_19_58_05_30715.jpg', '/mnt/data/29092025/19/57/image_29092025_19_57_35_29208.jpg', '/mnt/data/29092025/19/56/image_29092025_19_57_06_30517.jpg', '/mnt/data/29092025/19/56/image_29092025_19_56_35_30348.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.49864411354065 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:51:14.524646 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.178199768066406 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', '/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', '/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:51:50.519463 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.182469844818115 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:52:26.704527 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.205048084259033 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', '/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:53:02.746961 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', '/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', '/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg /mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg /mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg /mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg /mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg /mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.183820724487305 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:53:37.788283 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.206310749053955 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:54:13.982847 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.177303552627563 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', '/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:54:49.980787 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.198664665222168 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:55:26.108437 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', 2), ('/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', 2), ('/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', 2), ('/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/21/52/image_29092025_21_52_35_29233.jpg', '/mnt/data/29092025/19/55/image_29092025_19_56_05_29385.jpg', '/mnt/data/29092025/19/55/image_29092025_19_55_35_30459.jpg', '/mnt/data/29092025/19/54/image_29092025_19_55_05_30040.jpg', '/mnt/data/29092025/19/54/image_29092025_19_54_35_29675.jpg', '/mnt/data/29092025/19/53/image_29092025_19_54_05_29665.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.85372567176819 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 21:56:26.258734 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.168121337890625 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', 2), ('/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', 2), ('/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg', 2), ('/mnt/data/29092025/19/51/image_29092025_19_52_05_30584.jpg', 2), ('/mnt/data/29092025/19/51/image_29092025_19_51_35_30206.jpg', 2), ('/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', '/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', '/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg', '/mnt/data/29092025/19/51/image_29092025_19_52_05_30584.jpg', '/mnt/data/29092025/19/51/image_29092025_19_51_35_30206.jpg', '/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:57:03.361728 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', 2), ('/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', 2), ('/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg', 2), ('/mnt/data/29092025/19/51/image_29092025_19_52_05_30584.jpg', 2), ('/mnt/data/29092025/19/51/image_29092025_19_51_35_30206.jpg', 2), ('/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', '/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', '/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg', '/mnt/data/29092025/19/51/image_29092025_19_52_05_30584.jpg', '/mnt/data/29092025/19/51/image_29092025_19_51_35_30206.jpg', '/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg', '/mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg', '/mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg', '/mnt/data/29092025/19/51/image_29092025_19_52_05_30584.jpg', '/mnt/data/29092025/19/51/image_29092025_19_51_35_30206.jpg', '/mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/53/image_29092025_19_53_35_29777.jpg /mnt/data/29092025/19/52/image_29092025_19_53_06_30925.jpg /mnt/data/29092025/19/52/image_29092025_19_52_35_29344.jpg /mnt/data/29092025/19/51/image_29092025_19_52_05_30584.jpg /mnt/data/29092025/19/51/image_29092025_19_51_35_30206.jpg /mnt/data/29092025/19/50/image_29092025_19_51_05_29046.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386793638","1386793629","1386793623","1386793613","1386793633","1386793618"],"photo_ids_order":["1386793613","1386793618","1386793623","1386793629","1386793633","1386793638"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1fbfcdf39bfc3544ba1b179fe4a1c662.jpg","text":"TemporaryFile(/tmp/multipartBody3441391302629505033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175894642,"filename":"image_29092025_19_51_05_29046.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f664715a876cc98f6a80c974f2a7fa76.jpg","text":"TemporaryFile(/tmp/multipartBody1788740472872791328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175894642,"filename":"image_29092025_19_52_05_30584.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/263b6fa5698aa546838006ad7a9a115a.jpg","text":"TemporaryFile(/tmp/multipartBody5572951387706194879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175894642,"filename":"image_29092025_19_52_35_29344.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a5aeba10ce76d5bf2262fde44dc8e378.jpg","text":"TemporaryFile(/tmp/multipartBody6639104240285193970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175894642,"filename":"image_29092025_19_53_35_29777.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/4c7e5cae75c31b009e4043ea90b240be.jpg","text":"TemporaryFile(/tmp/multipartBody5734304047330397976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175894642,"filename":"image_29092025_19_51_35_30206.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8cf25eb65a51f03f86c4d0f7c4564b22.jpg","text":"TemporaryFile(/tmp/multipartBody6124310430503132774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759175894642,"filename":"image_29092025_19_53_06_30925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386793623","file1":"1386793618","file0":"1386793613","file4":"1386793633","file5":"1386793638","file3":"1386793629"},"map_files_photo_id_array":[{"photo_id":"1386793638","filename":"file5"},{"photo_id":"1386793623","filename":"file2"},{"photo_id":"1386793633","filename":"file4"},{"photo_id":"1386793618","filename":"file1"},{"photo_id":"1386793613","filename":"file0"},{"photo_id":"1386793629","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386793638":["hashtag1","hashtag2"]},{"1386793629":["hashtag1","hashtag2"]},{"1386793623":["hashtag1","hashtag2"]},{"1386793613":["hashtag1","hashtag2"]},{"1386793633":["hashtag1","hashtag2"]},{"1386793618":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386793638, 1386793629, 1386793623, 1386793613, 1386793633, 1386793618)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 47.81840777397156 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 21:59:03.316880 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', 2), ('/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg', '/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', '/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', '/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg', '/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', '/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', '/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg /mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg /mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg /mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg /mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg /mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 130.15078401565552 secondes --- after data_to_send, before sending request begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:01:14.767708 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/00/image_29092025_22_01_05_30558.jpg', 2), ('/mnt/data/29092025/22/00/image_29092025_22_00_35_30307.jpg', 2), ('/mnt/data/29092025/21/59/image_29092025_22_00_05_29372.jpg', 2), ('/mnt/data/29092025/21/59/image_29092025_21_59_35_30412.jpg', 2), ('/mnt/data/29092025/21/50/image_29092025_21_50_35_30503.jpg', 2), ('/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/00/image_29092025_22_01_05_30558.jpg', '/mnt/data/29092025/22/00/image_29092025_22_00_35_30307.jpg', '/mnt/data/29092025/21/59/image_29092025_22_00_05_29372.jpg', '/mnt/data/29092025/21/59/image_29092025_21_59_35_30412.jpg', '/mnt/data/29092025/21/50/image_29092025_21_50_35_30503.jpg', '/mnt/data/29092025/19/50/image_29092025_19_50_36_30481.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 43.903406620025635 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:02:02.375400 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', 2), ('/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg', 2), ('/mnt/data/29092025/19/47/image_29092025_19_47_35_30434.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', '/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', '/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_47_35_30434.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', '/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', '/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_47_35_30434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg /mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg /mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg /mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg /mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg /mnt/data/29092025/19/47/image_29092025_19_47_35_30434.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18214726448059 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:02:37.797695 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.211365938186646 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:03:13.946188 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.1933274269104 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/02/image_29092025_22_03_05_29635.jpg', 2), ('/mnt/data/29092025/22/02/image_29092025_22_02_36_30683.jpg', 2), ('/mnt/data/29092025/22/01/image_29092025_22_02_05_30446.jpg', 2), ('/mnt/data/29092025/22/01/image_29092025_22_01_35_29083.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/02/image_29092025_22_03_05_29635.jpg', '/mnt/data/29092025/22/02/image_29092025_22_02_36_30683.jpg', '/mnt/data/29092025/22/01/image_29092025_22_02_05_30446.jpg', '/mnt/data/29092025/22/01/image_29092025_22_01_35_29083.jpg', '/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:03:49.990526 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', 2), ('/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', 2), ('/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', 2), ('/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', 2), ('/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', 2), ('/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/03/30/image_29092025_03_30_35_29874.jpg', '/mnt/data/29092025/03/32/image_29092025_03_32_36_29861.jpg', '/mnt/data/29092025/03/40/image_29092025_03_40_35_29878.jpg', '/mnt/data/29092025/03/41/image_29092025_03_42_06_29957.jpg', '/mnt/data/29092025/03/56/image_29092025_03_57_05_29831.jpg', '/mnt/data/29092025/03/58/image_29092025_03_59_05_29918.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 56.13098764419556 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:04:50.190194 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.207427263259888 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', '/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', '/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', '/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', '/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', '/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:05:26.349147 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/04/image_29092025_22_05_05_29780.jpg', 2), ('/mnt/data/29092025/22/04/image_29092025_22_04_35_30288.jpg', 2), ('/mnt/data/29092025/22/03/image_29092025_22_04_05_30542.jpg', 2), ('/mnt/data/29092025/22/03/image_29092025_22_03_35_29311.jpg', 2), ('/mnt/data/29092025/22/02/image_29092025_22_03_05_29635.jpg', 2), ('/mnt/data/29092025/22/02/image_29092025_22_02_36_30683.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/04/image_29092025_22_05_05_29780.jpg', '/mnt/data/29092025/22/04/image_29092025_22_04_35_30288.jpg', '/mnt/data/29092025/22/03/image_29092025_22_04_05_30542.jpg', '/mnt/data/29092025/22/03/image_29092025_22_03_35_29311.jpg', '/mnt/data/29092025/22/02/image_29092025_22_03_05_29635.jpg', '/mnt/data/29092025/22/02/image_29092025_22_02_36_30683.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.27794694900513 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:06:26.516978 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/05/image_29092025_22_06_05_29196.jpg', 2), ('/mnt/data/29092025/22/05/image_29092025_22_05_36_30464.jpg', 2), ('/mnt/data/29092025/22/01/image_29092025_22_02_05_30446.jpg', 2), ('/mnt/data/29092025/22/01/image_29092025_22_01_35_29083.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', 2), ('/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/05/image_29092025_22_06_05_29196.jpg', '/mnt/data/29092025/22/05/image_29092025_22_05_36_30464.jpg', '/mnt/data/29092025/22/01/image_29092025_22_02_05_30446.jpg', '/mnt/data/29092025/22/01/image_29092025_22_01_35_29083.jpg', '/mnt/data/29092025/19/49/image_29092025_19_50_05_30564.jpg', '/mnt/data/29092025/19/49/image_29092025_19_49_34_29619.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 50.309789180755615 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:07:26.635849 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/06/image_29092025_22_07_06_29960.jpg', 2), ('/mnt/data/29092025/22/06/image_29092025_22_06_36_30833.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', 2), ('/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', 2), ('/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg', 2), ('/mnt/data/29092025/19/47/image_29092025_19_47_35_30434.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/06/image_29092025_22_07_06_29960.jpg', '/mnt/data/29092025/22/06/image_29092025_22_06_36_30833.jpg', '/mnt/data/29092025/19/48/image_29092025_19_49_05_29780.jpg', '/mnt/data/29092025/19/48/image_29092025_19_48_35_30320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_48_05_29320.jpg', '/mnt/data/29092025/19/47/image_29092025_19_47_35_30434.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 49.219584226608276 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:08:25.780037 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/07/image_29092025_22_08_06_30309.jpg', 2), ('/mnt/data/29092025/22/07/image_29092025_22_07_35_29635.jpg', 2), ('/mnt/data/29092025/19/46/image_29092025_19_47_05_30342.jpg', 2), ('/mnt/data/29092025/19/46/image_29092025_19_46_35_29088.jpg', 2), ('/mnt/data/29092025/19/45/image_29092025_19_46_06_30614.jpg', 2), ('/mnt/data/29092025/19/45/image_29092025_19_45_35_29507.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/07/image_29092025_22_08_06_30309.jpg', '/mnt/data/29092025/22/07/image_29092025_22_07_35_29635.jpg', '/mnt/data/29092025/19/46/image_29092025_19_47_05_30342.jpg', '/mnt/data/29092025/19/46/image_29092025_19_46_35_29088.jpg', '/mnt/data/29092025/19/45/image_29092025_19_46_06_30614.jpg', '/mnt/data/29092025/19/45/image_29092025_19_45_35_29507.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.611281871795654 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:09:25.953534 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.153400897979736 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', 2), ('/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', '/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', '/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', '/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:10:02.731002 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', 2), ('/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', '/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', '/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', '/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', '/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', '/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', '/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg /mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg /mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg /mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg /mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg /mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16135048866272 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:10:38.103546 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', 2), ('/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', 2), ('/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', 2), ('/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', 2), ('/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', 2), ('/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/04/00/image_29092025_04_00_35_29730.jpg', '/mnt/data/29092025/04/07/image_29092025_04_08_05_30009.jpg', '/mnt/data/29092025/04/10/image_29092025_04_10_35_29784.jpg', '/mnt/data/29092025/04/12/image_29092025_04_12_35_29765.jpg', '/mnt/data/29092025/04/14/image_29092025_04_15_05_29950.jpg', '/mnt/data/29092025/04/15/image_29092025_04_15_35_29735.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 53.790383100509644 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:11:38.236069 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.214898824691772 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', '/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', '/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', '/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', '/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', '/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:12:14.397124 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/11/image_29092025_22_12_05_30809.jpg', 2), ('/mnt/data/29092025/22/11/image_29092025_22_11_35_29483.jpg', 2), ('/mnt/data/29092025/22/10/image_29092025_22_11_05_29566.jpg', 2), ('/mnt/data/29092025/22/10/image_29092025_22_10_36_30431.jpg', 2), ('/mnt/data/29092025/22/09/image_29092025_22_10_05_29681.jpg', 2), ('/mnt/data/29092025/22/09/image_29092025_22_09_35_30446.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/11/image_29092025_22_12_05_30809.jpg', '/mnt/data/29092025/22/11/image_29092025_22_11_35_29483.jpg', '/mnt/data/29092025/22/10/image_29092025_22_11_05_29566.jpg', '/mnt/data/29092025/22/10/image_29092025_22_10_36_30431.jpg', '/mnt/data/29092025/22/09/image_29092025_22_10_05_29681.jpg', '/mnt/data/29092025/22/09/image_29092025_22_09_35_30446.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.865402936935425 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:13:14.535935 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/12/image_29092025_22_13_05_29686.jpg', 2), ('/mnt/data/29092025/22/12/image_29092025_22_12_35_29519.jpg', 2), ('/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', 2), ('/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', 2), ('/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/12/image_29092025_22_13_05_29686.jpg', '/mnt/data/29092025/22/12/image_29092025_22_12_35_29519.jpg', '/mnt/data/29092025/22/08/image_29092025_22_09_05_30010.jpg', '/mnt/data/29092025/22/08/image_29092025_22_08_35_29347.jpg', '/mnt/data/29092025/19/44/image_29092025_19_45_05_29908.jpg', '/mnt/data/29092025/19/44/image_29092025_19_44_36_31018.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 62.47910499572754 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:14:26.768359 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16723132133484 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg', 2), ('/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg', '/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', '/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', '/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:15:02.726368 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg', 2), ('/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg', '/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', '/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', '/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg', '/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', '/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', '/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg /mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg /mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg /mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg /mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg /mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.200527906417847 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:15:37.804255 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', 2), ('/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', 2), ('/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', 2), ('/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', 2), ('/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', 2), ('/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/04/30/image_29092025_04_30_35_29716.jpg', '/mnt/data/29092025/04/31/image_29092025_04_31_35_29863.jpg', '/mnt/data/29092025/04/38/image_29092025_04_39_05_29811.jpg', '/mnt/data/29092025/04/40/image_29092025_04_40_35_29708.jpg', '/mnt/data/29092025/04/44/image_29092025_04_45_05_29894.jpg', '/mnt/data/29092025/04/49/image_29092025_04_49_35_29864.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 60.73190259933472 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:16:49.936862 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/04/50/image_29092025_04_50_35_29705.jpg', 2), ('/mnt/data/29092025/05/00/image_29092025_05_00_35_29858.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_01_35_30841.jpg', 2), ('/mnt/data/29092025/05/01/image_29092025_05_02_05_29540.jpg', 2), ('/mnt/data/29092025/05/02/image_29092025_05_02_36_30616.jpg', 2), ('/mnt/data/29092025/05/03/image_29092025_05_04_05_29398.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/04/50/image_29092025_04_50_35_29705.jpg', '/mnt/data/29092025/05/00/image_29092025_05_00_35_29858.jpg', '/mnt/data/29092025/05/01/image_29092025_05_01_35_30841.jpg', '/mnt/data/29092025/05/01/image_29092025_05_02_05_29540.jpg', '/mnt/data/29092025/05/02/image_29092025_05_02_36_30616.jpg', '/mnt/data/29092025/05/03/image_29092025_05_04_05_29398.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.52705192565918 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:17:50.104767 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/05/image_29092025_05_06_05_29364.jpg', 2), ('/mnt/data/29092025/05/06/image_29092025_05_06_35_30278.jpg', 2), ('/mnt/data/29092025/05/06/image_29092025_05_07_05_30325.jpg', 2), ('/mnt/data/29092025/05/07/image_29092025_05_07_36_30351.jpg', 2), ('/mnt/data/29092025/05/07/image_29092025_05_08_05_29431.jpg', 2), ('/mnt/data/29092025/05/08/image_29092025_05_08_36_30472.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/05/image_29092025_05_06_05_29364.jpg', '/mnt/data/29092025/05/06/image_29092025_05_06_35_30278.jpg', '/mnt/data/29092025/05/06/image_29092025_05_07_05_30325.jpg', '/mnt/data/29092025/05/07/image_29092025_05_07_36_30351.jpg', '/mnt/data/29092025/05/07/image_29092025_05_08_05_29431.jpg', '/mnt/data/29092025/05/08/image_29092025_05_08_36_30472.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 46.26244926452637 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:18:38.246038 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.221009731292725 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/08/image_29092025_05_09_05_29523.jpg', 2), ('/mnt/data/29092025/05/09/image_29092025_05_09_35_29489.jpg', 2), ('/mnt/data/29092025/05/09/image_29092025_05_10_06_30999.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_10_35_29261.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_11_05_30689.jpg', 2), ('/mnt/data/29092025/05/11/image_29092025_05_12_05_29661.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/08/image_29092025_05_09_05_29523.jpg', '/mnt/data/29092025/05/09/image_29092025_05_09_35_29489.jpg', '/mnt/data/29092025/05/09/image_29092025_05_10_06_30999.jpg', '/mnt/data/29092025/05/10/image_29092025_05_10_35_29261.jpg', '/mnt/data/29092025/05/10/image_29092025_05_11_05_30689.jpg', '/mnt/data/29092025/05/11/image_29092025_05_12_05_29661.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:19:14.438933 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/18/image_29092025_22_18_35_29732.jpg', 2), ('/mnt/data/29092025/22/17/image_29092025_22_17_35_29543.jpg', 2), ('/mnt/data/29092025/22/15/image_29092025_22_16_05_30791.jpg', 2), ('/mnt/data/29092025/22/15/image_29092025_22_15_35_30402.jpg', 2), ('/mnt/data/29092025/22/14/image_29092025_22_14_35_30510.jpg', 2), ('/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/18/image_29092025_22_18_35_29732.jpg', '/mnt/data/29092025/22/17/image_29092025_22_17_35_29543.jpg', '/mnt/data/29092025/22/15/image_29092025_22_16_05_30791.jpg', '/mnt/data/29092025/22/15/image_29092025_22_15_35_30402.jpg', '/mnt/data/29092025/22/14/image_29092025_22_14_35_30510.jpg', '/mnt/data/29092025/22/13/image_29092025_22_14_05_29517.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 53.593602895736694 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:20:14.555211 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/18/image_29092025_22_19_04_29678.jpg', 2), ('/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', 2), ('/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', 2), ('/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/18/image_29092025_22_19_04_29678.jpg', '/mnt/data/29092025/22/13/image_29092025_22_13_35_30728.jpg', '/mnt/data/29092025/19/43/image_29092025_19_44_05_29693.jpg', '/mnt/data/29092025/19/43/image_29092025_19_43_35_29507.jpg', '/mnt/data/29092025/19/42/image_29092025_19_43_05_30805.jpg', '/mnt/data/29092025/19/42/image_29092025_19_42_35_29626.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 54.12920808792114 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:21:14.701581 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/41/image_29092025_19_42_05_29688.jpg', 2), ('/mnt/data/29092025/19/41/image_29092025_19_41_35_30722.jpg', 2), ('/mnt/data/29092025/19/40/image_29092025_19_41_05_29820.jpg', 2), ('/mnt/data/29092025/19/40/image_29092025_19_40_35_29222.jpg', 2), ('/mnt/data/29092025/19/39/image_29092025_19_40_05_30816.jpg', 2), ('/mnt/data/29092025/19/39/image_29092025_19_39_35_29250.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/41/image_29092025_19_42_05_29688.jpg', '/mnt/data/29092025/19/41/image_29092025_19_41_35_30722.jpg', '/mnt/data/29092025/19/40/image_29092025_19_41_05_29820.jpg', '/mnt/data/29092025/19/40/image_29092025_19_40_35_29222.jpg', '/mnt/data/29092025/19/39/image_29092025_19_40_05_30816.jpg', '/mnt/data/29092025/19/39/image_29092025_19_39_35_29250.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 46.48260426521301 secondes --- MMMMMM fin de la fonction upload val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:22:13.899883 in upload_from_sqlite, uploading in 27327521 uploaded 0 photos time to upload: 5.449235916137695 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', 2), ('/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', 2), ('/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', 2), ('/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg', 2), ('/mnt/data/29092025/19/36/image_29092025_19_37_06_30499.jpg', 2), ('/mnt/data/29092025/19/36/image_29092025_19_36_35_30347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', '/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', '/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', '/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg', '/mnt/data/29092025/19/36/image_29092025_19_37_06_30499.jpg', '/mnt/data/29092025/19/36/image_29092025_19_36_35_30347.jpg'] batch 1 begin to post requests ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:22:25.856711 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', 2), ('/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', 2), ('/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', 2), ('/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg', 2), ('/mnt/data/29092025/19/36/image_29092025_19_37_06_30499.jpg', 2), ('/mnt/data/29092025/19/36/image_29092025_19_36_35_30347.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/38/image_29092025_19_39_05_30375.jpg', '/mnt/data/29092025/19/38/image_29092025_19_38_35_30448.jpg', '/mnt/data/29092025/19/37/image_29092025_19_38_05_29584.jpg', '/mnt/data/29092025/19/37/image_29092025_19_37_35_29467.jpg', '/mnt/data/29092025/19/36/image_29092025_19_37_06_30499.jpg', '/mnt/data/29092025/19/36/image_29092025_19_36_35_30347.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 69.4131989479065 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:23:38.025554 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/08/image_29092025_05_09_05_29523.jpg', 2), ('/mnt/data/29092025/05/09/image_29092025_05_09_35_29489.jpg', 2), ('/mnt/data/29092025/05/09/image_29092025_05_10_06_30999.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_10_35_29261.jpg', 2), ('/mnt/data/29092025/05/10/image_29092025_05_11_05_30689.jpg', 2), ('/mnt/data/29092025/05/11/image_29092025_05_12_05_29661.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/08/image_29092025_05_09_05_29523.jpg', '/mnt/data/29092025/05/09/image_29092025_05_09_35_29489.jpg', '/mnt/data/29092025/05/09/image_29092025_05_10_06_30999.jpg', '/mnt/data/29092025/05/10/image_29092025_05_10_35_29261.jpg', '/mnt/data/29092025/05/10/image_29092025_05_11_05_30689.jpg', '/mnt/data/29092025/05/11/image_29092025_05_12_05_29661.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.22783946990967 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:24:38.146192 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.22486448287964 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', 2), ('/mnt/data/29092025/05/12/image_29092025_05_13_06_30540.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_13_35_29128.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_14_05_30479.jpg', 2), ('/mnt/data/29092025/05/14/image_29092025_05_14_36_30392.jpg', 2), ('/mnt/data/29092025/05/14/image_29092025_05_15_05_29702.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', '/mnt/data/29092025/05/12/image_29092025_05_13_06_30540.jpg', '/mnt/data/29092025/05/13/image_29092025_05_13_35_29128.jpg', '/mnt/data/29092025/05/13/image_29092025_05_14_05_30479.jpg', '/mnt/data/29092025/05/14/image_29092025_05_14_36_30392.jpg', '/mnt/data/29092025/05/14/image_29092025_05_15_05_29702.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:25:14.312768 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16821551322937 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', 2), ('/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', 2), ('/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', '/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', '/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', '/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', '/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', '/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:25:50.277955 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', 2), ('/mnt/data/29092025/05/12/image_29092025_05_13_06_30540.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_13_35_29128.jpg', 2), ('/mnt/data/29092025/05/13/image_29092025_05_14_05_30479.jpg', 2), ('/mnt/data/29092025/05/14/image_29092025_05_14_36_30392.jpg', 2), ('/mnt/data/29092025/05/14/image_29092025_05_15_05_29702.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/12/image_29092025_05_12_35_30399.jpg', '/mnt/data/29092025/05/12/image_29092025_05_13_06_30540.jpg', '/mnt/data/29092025/05/13/image_29092025_05_13_35_29128.jpg', '/mnt/data/29092025/05/13/image_29092025_05_14_05_30479.jpg', '/mnt/data/29092025/05/14/image_29092025_05_14_36_30392.jpg', '/mnt/data/29092025/05/14/image_29092025_05_15_05_29702.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 58.01187324523926 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:26:50.415680 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', 2), ('/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', '/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', '/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', '/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', '/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', '/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg'] batch 1 begin to post requests uploaded 0 photos time to upload: 20.89573645591736 secondes --- 400 MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:27:14.587317 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16754388809204 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/26/image_29092025_22_27_05_30119.jpg', 2), ('/mnt/data/29092025/22/26/image_29092025_22_26_34_29765.jpg', 2), ('/mnt/data/29092025/22/25/image_29092025_22_26_05_29619.jpg', 2), ('/mnt/data/29092025/22/25/image_29092025_22_25_35_30552.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/26/image_29092025_22_27_05_30119.jpg', '/mnt/data/29092025/22/26/image_29092025_22_26_34_29765.jpg', '/mnt/data/29092025/22/25/image_29092025_22_26_05_29619.jpg', '/mnt/data/29092025/22/25/image_29092025_22_25_35_30552.jpg', '/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', '/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:27:50.632915 in upload_from_sqlite, uploading in 27327521 Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:29:03.712981 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/27/image_29092025_22_28_05_31025.jpg', 2), ('/mnt/data/29092025/22/27/image_29092025_22_27_34_29870.jpg', 2), ('/mnt/data/29092025/22/26/image_29092025_22_27_05_30119.jpg', 2), ('/mnt/data/29092025/22/26/image_29092025_22_26_34_29765.jpg', 2), ('/mnt/data/29092025/22/25/image_29092025_22_26_05_29619.jpg', 2), ('/mnt/data/29092025/22/25/image_29092025_22_25_35_30552.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/27/image_29092025_22_28_05_31025.jpg', '/mnt/data/29092025/22/27/image_29092025_22_27_34_29870.jpg', '/mnt/data/29092025/22/26/image_29092025_22_27_05_30119.jpg', '/mnt/data/29092025/22/26/image_29092025_22_26_34_29765.jpg', '/mnt/data/29092025/22/25/image_29092025_22_26_05_29619.jpg', '/mnt/data/29092025/22/25/image_29092025_22_25_35_30552.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/27/image_29092025_22_28_05_31025.jpg', '/mnt/data/29092025/22/27/image_29092025_22_27_34_29870.jpg', '/mnt/data/29092025/22/26/image_29092025_22_27_05_30119.jpg', '/mnt/data/29092025/22/26/image_29092025_22_26_34_29765.jpg', '/mnt/data/29092025/22/25/image_29092025_22_26_05_29619.jpg', '/mnt/data/29092025/22/25/image_29092025_22_25_35_30552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/27/image_29092025_22_28_05_31025.jpg /mnt/data/29092025/22/27/image_29092025_22_27_34_29870.jpg /mnt/data/29092025/22/26/image_29092025_22_27_05_30119.jpg /mnt/data/29092025/22/26/image_29092025_22_26_34_29765.jpg /mnt/data/29092025/22/25/image_29092025_22_26_05_29619.jpg /mnt/data/29092025/22/25/image_29092025_22_25_35_30552.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386795404","1386795424","1386795418","1386795426","1386795411","1386795420"],"photo_ids_order":["1386795404","1386795411","1386795418","1386795420","1386795424","1386795426"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/6caf11ebb85be428b27d441af3a17bb7.jpg","text":"TemporaryFile(/tmp/multipartBody2155505924971603214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177822298,"filename":"image_29092025_22_28_05_31025.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/939af2d2cc1b8deb2d3d43bc19d89091.jpg","text":"TemporaryFile(/tmp/multipartBody7220195494476124504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177822298,"filename":"image_29092025_22_26_05_29619.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/50077ba34149882a84a5afbb334b6512.jpg","text":"TemporaryFile(/tmp/multipartBody8696167375689297212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177822298,"filename":"image_29092025_22_27_05_30119.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ee544b297be9ae21a841d55c9039aee2.jpg","text":"TemporaryFile(/tmp/multipartBody5896783340682490443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177822298,"filename":"image_29092025_22_25_35_30552.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c2fadcdca78329f3e44808f0c458aed9.jpg","text":"TemporaryFile(/tmp/multipartBody307708016264114125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177822298,"filename":"image_29092025_22_27_34_29870.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5f05714e44da3e57bad238a66f582534.jpg","text":"TemporaryFile(/tmp/multipartBody2834044543606465785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759177822298,"filename":"image_29092025_22_26_34_29765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795418","file1":"1386795411","file0":"1386795404","file4":"1386795424","file5":"1386795426","file3":"1386795420"},"map_files_photo_id_array":[{"photo_id":"1386795426","filename":"file5"},{"photo_id":"1386795418","filename":"file2"},{"photo_id":"1386795424","filename":"file4"},{"photo_id":"1386795411","filename":"file1"},{"photo_id":"1386795404","filename":"file0"},{"photo_id":"1386795420","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386795404":["hashtag1","hashtag2"]},{"1386795424":["hashtag1","hashtag2"]},{"1386795418":["hashtag1","hashtag2"]},{"1386795426":["hashtag1","hashtag2"]},{"1386795411":["hashtag1","hashtag2"]},{"1386795420":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386795404, 1386795424, 1386795418, 1386795426, 1386795411, 1386795420)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 55.01519227027893 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:30:02.460721 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', 2), ('/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', 2), ('/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', 2), ('/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', '/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg', '/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', '/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', '/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', '/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', '/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg', '/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', '/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', '/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', '/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg /mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg /mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg /mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg /mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg /mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request uploaded 0 photos time to upload: 66.09796285629272 secondes --- b'\n\n\n\n\t\n\t\tError\n\t\t\n\t \n\t\n\t\n\t\t

Oops, an error occured

\n\n\t\t

\n\t\t\tThis exception has been logged with id 8b0hklbkn.\n\t\t

\n\n\t\n\n\n\n\n\n\n\n\n' 500 This exception has been logged with id 8b0hklbkn. MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:31:13.966110 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16921091079712 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/30/image_29092025_22_31_05_30691.jpg', 2), ('/mnt/data/29092025/22/30/image_29092025_22_30_34_29307.jpg', 2), ('/mnt/data/29092025/22/29/image_29092025_22_30_05_30793.jpg', 2), ('/mnt/data/29092025/22/29/image_29092025_22_29_34_29288.jpg', 2), ('/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', 2), ('/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/30/image_29092025_22_31_05_30691.jpg', '/mnt/data/29092025/22/30/image_29092025_22_30_34_29307.jpg', '/mnt/data/29092025/22/29/image_29092025_22_30_05_30793.jpg', '/mnt/data/29092025/22/29/image_29092025_22_29_34_29288.jpg', '/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', '/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:31:49.970521 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.176305532455444 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', 2), ('/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', '/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', '/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', '/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', '/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', '/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:32:26.202580 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/31/image_29092025_22_32_05_30650.jpg', 2), ('/mnt/data/29092025/22/31/image_29092025_22_31_34_29201.jpg', 2), ('/mnt/data/29092025/22/30/image_29092025_22_31_05_30691.jpg', 2), ('/mnt/data/29092025/22/30/image_29092025_22_30_34_29307.jpg', 2), ('/mnt/data/29092025/22/29/image_29092025_22_30_05_30793.jpg', 2), ('/mnt/data/29092025/22/29/image_29092025_22_29_34_29288.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/31/image_29092025_22_32_05_30650.jpg', '/mnt/data/29092025/22/31/image_29092025_22_31_34_29201.jpg', '/mnt/data/29092025/22/30/image_29092025_22_31_05_30691.jpg', '/mnt/data/29092025/22/30/image_29092025_22_30_34_29307.jpg', '/mnt/data/29092025/22/29/image_29092025_22_30_05_30793.jpg', '/mnt/data/29092025/22/29/image_29092025_22_29_34_29288.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 48.869959354400635 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:33:26.262392 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/32/image_29092025_22_33_05_30793.jpg', 2), ('/mnt/data/29092025/22/32/image_29092025_22_32_34_29289.jpg', 2), ('/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', 2), ('/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', 2), ('/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/32/image_29092025_22_33_05_30793.jpg', '/mnt/data/29092025/22/32/image_29092025_22_32_34_29289.jpg', '/mnt/data/29092025/22/28/image_29092025_22_29_05_30827.jpg', '/mnt/data/29092025/22/28/image_29092025_22_28_34_28830.jpg', '/mnt/data/29092025/22/24/image_29092025_22_25_04_29213.jpg', '/mnt/data/29092025/22/24/image_29092025_22_24_35_30268.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 58.088268756866455 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:34:26.401981 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17583656311035 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/33/image_29092025_22_34_05_29314.jpg', 2), ('/mnt/data/29092025/22/33/image_29092025_22_33_35_30322.jpg', 2), ('/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', 2), ('/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/33/image_29092025_22_34_05_29314.jpg', '/mnt/data/29092025/22/33/image_29092025_22_33_35_30322.jpg', '/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', '/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', '/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', '/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:35:03.602388 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/33/image_29092025_22_34_05_29314.jpg', 2), ('/mnt/data/29092025/22/33/image_29092025_22_33_35_30322.jpg', 2), ('/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', 2), ('/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', 2), ('/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/33/image_29092025_22_34_05_29314.jpg', '/mnt/data/29092025/22/33/image_29092025_22_33_35_30322.jpg', '/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', '/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', '/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', '/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/33/image_29092025_22_34_05_29314.jpg', '/mnt/data/29092025/22/33/image_29092025_22_33_35_30322.jpg', '/mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg', '/mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg', '/mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg', '/mnt/data/29092025/19/35/image_29092025_19_35_35_30230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/33/image_29092025_22_34_05_29314.jpg /mnt/data/29092025/22/33/image_29092025_22_33_35_30322.jpg /mnt/data/29092025/22/23/image_29092025_22_24_05_30462.jpg /mnt/data/29092025/22/20/image_29092025_22_20_35_30399.jpg /mnt/data/29092025/19/35/image_29092025_19_36_05_29459.jpg /mnt/data/29092025/19/35/image_29092025_19_35_35_30230.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 begin to post requests after request b'{"photo_ids":["1386795806","1386795809","1386795790","1386795784","1386795802","1386795797"],"photo_ids_order":["1386795784","1386795790","1386795797","1386795802","1386795806","1386795809"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/802476c2c9168e2dc6d97ca87ac49ac5.jpg","text":"TemporaryFile(/tmp/multipartBody313172459043622560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178174403,"filename":"image_29092025_19_36_05_29459.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e09cb1c97d3692e5b6f70541deb3250b.jpg","text":"TemporaryFile(/tmp/multipartBody6537297724532113783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178174403,"filename":"image_29092025_19_35_35_30230.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/475cab99c6308d2ef33545f5bb589833.jpg","text":"TemporaryFile(/tmp/multipartBody5814325270332573185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178174403,"filename":"image_29092025_22_33_35_30322.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9fcf5b092f1f3831ed6a54d7c5874541.jpg","text":"TemporaryFile(/tmp/multipartBody3335185995493157979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178174403,"filename":"image_29092025_22_34_05_29314.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8145e50ccb964269b471d0ecc58d2e20.jpg","text":"TemporaryFile(/tmp/multipartBody6514872195227604262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178174403,"filename":"image_29092025_22_20_35_30399.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f657a4f2d2e78cb23c7301a0c63fd0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3708615339914960842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759178174403,"filename":"image_29092025_22_24_05_30462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386795797","file1":"1386795790","file0":"1386795784","file4":"1386795806","file5":"1386795809","file3":"1386795802"},"map_files_photo_id_array":[{"photo_id":"1386795809","filename":"file5"},{"photo_id":"1386795797","filename":"file2"},{"photo_id":"1386795806","filename":"file4"},{"photo_id":"1386795790","filename":"file1"},{"photo_id":"1386795784","filename":"file0"},{"photo_id":"1386795802","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386795806":["hashtag1","hashtag2"]},{"1386795809":["hashtag1","hashtag2"]},{"1386795790":["hashtag1","hashtag2"]},{"1386795784":["hashtag1","hashtag2"]},{"1386795802":["hashtag1","hashtag2"]},{"1386795797":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386795806, 1386795809, 1386795790, 1386795784, 1386795802, 1386795797)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 45.5279438495636 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:35:50.554801 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', 2), ('/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', 2), ('/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', 2), ('/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/15/image_29092025_05_15_35_29660.jpg', '/mnt/data/29092025/05/15/image_29092025_05_16_06_30736.jpg', '/mnt/data/29092025/05/16/image_29092025_05_16_35_29673.jpg', '/mnt/data/29092025/05/16/image_29092025_05_17_05_29975.jpg', '/mnt/data/29092025/05/17/image_29092025_05_17_35_29656.jpg', '/mnt/data/29092025/05/17/image_29092025_05_18_06_30682.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 50.64175987243652 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:36:50.719037 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/18/image_29092025_05_18_35_29349.jpg', 2), ('/mnt/data/29092025/05/20/image_29092025_05_20_35_29507.jpg', 2), ('/mnt/data/29092025/05/20/image_29092025_05_21_06_30607.jpg', 2), ('/mnt/data/29092025/05/21/image_29092025_05_21_35_29175.jpg', 2), ('/mnt/data/29092025/05/21/image_29092025_05_22_05_30389.jpg', 2), ('/mnt/data/29092025/05/22/image_29092025_05_22_36_30425.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/18/image_29092025_05_18_35_29349.jpg', '/mnt/data/29092025/05/20/image_29092025_05_20_35_29507.jpg', '/mnt/data/29092025/05/20/image_29092025_05_21_06_30607.jpg', '/mnt/data/29092025/05/21/image_29092025_05_21_35_29175.jpg', '/mnt/data/29092025/05/21/image_29092025_05_22_05_30389.jpg', '/mnt/data/29092025/05/22/image_29092025_05_22_36_30425.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 44.619476318359375 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:37:37.860212 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/22/image_29092025_05_23_05_29277.jpg', 2), ('/mnt/data/29092025/05/23/image_29092025_05_23_35_30451.jpg', 2), ('/mnt/data/29092025/05/23/image_29092025_05_24_05_29135.jpg', 2), ('/mnt/data/29092025/05/24/image_29092025_05_24_35_30480.jpg', 2), ('/mnt/data/29092025/05/24/image_29092025_05_25_06_30623.jpg', 2), ('/mnt/data/29092025/05/25/image_29092025_05_25_35_29501.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/22/image_29092025_05_23_05_29277.jpg', '/mnt/data/29092025/05/23/image_29092025_05_23_35_30451.jpg', '/mnt/data/29092025/05/23/image_29092025_05_24_05_29135.jpg', '/mnt/data/29092025/05/24/image_29092025_05_24_35_30480.jpg', '/mnt/data/29092025/05/24/image_29092025_05_25_06_30623.jpg', '/mnt/data/29092025/05/25/image_29092025_05_25_35_29501.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 41.42581033706665 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:38:26.000933 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 129.79019808769226 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/37/image_29092025_22_38_04_29682.jpg', 2), ('/mnt/data/29092025/22/37/image_29092025_22_37_35_29543.jpg', 2), ('/mnt/data/29092025/22/36/image_29092025_22_37_05_30682.jpg', 2), ('/mnt/data/29092025/22/36/image_29092025_22_36_34_29164.jpg', 2), ('/mnt/data/29092025/22/35/image_29092025_22_36_05_30451.jpg', 2), ('/mnt/data/29092025/22/35/image_29092025_22_35_35_30401.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/37/image_29092025_22_38_04_29682.jpg', '/mnt/data/29092025/22/37/image_29092025_22_37_35_29543.jpg', '/mnt/data/29092025/22/36/image_29092025_22_37_05_30682.jpg', '/mnt/data/29092025/22/36/image_29092025_22_36_34_29164.jpg', '/mnt/data/29092025/22/35/image_29092025_22_36_05_30451.jpg', '/mnt/data/29092025/22/35/image_29092025_22_35_35_30401.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:40:38.274368 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.232688426971436 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', 2), ('/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', '/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', '/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', '/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', '/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', '/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:41:14.417900 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 33.20910429954529 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/40/image_29092025_22_41_04_29445.jpg', 2), ('/mnt/data/29092025/22/39/image_29092025_22_39_35_29199.jpg', 2), ('/mnt/data/29092025/22/38/image_29092025_22_39_05_30227.jpg', 2), ('/mnt/data/29092025/22/38/image_29092025_22_38_35_30790.jpg', 2), ('/mnt/data/29092025/22/37/image_29092025_22_38_04_29682.jpg', 2), ('/mnt/data/29092025/22/37/image_29092025_22_37_35_29543.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/40/image_29092025_22_41_04_29445.jpg', '/mnt/data/29092025/22/39/image_29092025_22_39_35_29199.jpg', '/mnt/data/29092025/22/38/image_29092025_22_39_05_30227.jpg', '/mnt/data/29092025/22/38/image_29092025_22_38_35_30790.jpg', '/mnt/data/29092025/22/37/image_29092025_22_38_04_29682.jpg', '/mnt/data/29092025/22/37/image_29092025_22_37_35_29543.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:41:50.395504 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18147349357605 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', 2), ('/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', '/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', '/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', '/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', '/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', '/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:42:26.558100 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/41/image_29092025_22_42_04_29576.jpg', 2), ('/mnt/data/29092025/22/41/image_29092025_22_41_35_30490.jpg', 2), ('/mnt/data/29092025/22/40/image_29092025_22_41_04_29445.jpg', 2), ('/mnt/data/29092025/22/39/image_29092025_22_39_35_29199.jpg', 2), ('/mnt/data/29092025/22/38/image_29092025_22_39_05_30227.jpg', 2), ('/mnt/data/29092025/22/38/image_29092025_22_38_35_30790.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/41/image_29092025_22_42_04_29576.jpg', '/mnt/data/29092025/22/41/image_29092025_22_41_35_30490.jpg', '/mnt/data/29092025/22/40/image_29092025_22_41_04_29445.jpg', '/mnt/data/29092025/22/39/image_29092025_22_39_35_29199.jpg', '/mnt/data/29092025/22/38/image_29092025_22_39_05_30227.jpg', '/mnt/data/29092025/22/38/image_29092025_22_38_35_30790.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 47.57973790168762 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:43:26.696497 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/42/image_29092025_22_43_05_29646.jpg', 2), ('/mnt/data/29092025/22/42/image_29092025_22_42_35_30660.jpg', 2), ('/mnt/data/29092025/22/37/image_29092025_22_38_04_29682.jpg', 2), ('/mnt/data/29092025/22/37/image_29092025_22_37_35_29543.jpg', 2), ('/mnt/data/29092025/22/36/image_29092025_22_37_05_30682.jpg', 2), ('/mnt/data/29092025/22/36/image_29092025_22_36_34_29164.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/42/image_29092025_22_43_05_29646.jpg', '/mnt/data/29092025/22/42/image_29092025_22_42_35_30660.jpg', '/mnt/data/29092025/22/37/image_29092025_22_38_04_29682.jpg', '/mnt/data/29092025/22/37/image_29092025_22_37_35_29543.jpg', '/mnt/data/29092025/22/36/image_29092025_22_37_05_30682.jpg', '/mnt/data/29092025/22/36/image_29092025_22_36_34_29164.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 59.18559718132019 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:44:37.852665 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', 2), ('/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', 2), ('/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', 2), ('/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/25/image_29092025_05_26_05_29450.jpg', '/mnt/data/29092025/05/26/image_29092025_05_26_35_30531.jpg', '/mnt/data/29092025/05/26/image_29092025_05_27_06_30414.jpg', '/mnt/data/29092025/05/27/image_29092025_05_27_35_29173.jpg', '/mnt/data/29092025/05/27/image_29092025_05_28_05_30654.jpg', '/mnt/data/29092025/05/28/image_29092025_05_28_35_29469.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 49.687238454818726 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:45:38.055592 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.23069953918457 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', 2), ('/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', '/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', '/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', '/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', '/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', '/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:46:14.206621 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/45/image_29092025_22_46_04_29605.jpg', 2), ('/mnt/data/29092025/22/45/image_29092025_22_45_35_29401.jpg', 2), ('/mnt/data/29092025/22/44/image_29092025_22_45_05_30823.jpg', 2), ('/mnt/data/29092025/22/44/image_29092025_22_44_35_29504.jpg', 2), ('/mnt/data/29092025/22/43/image_29092025_22_44_05_29810.jpg', 2), ('/mnt/data/29092025/22/43/image_29092025_22_43_35_30663.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/45/image_29092025_22_46_04_29605.jpg', '/mnt/data/29092025/22/45/image_29092025_22_45_35_29401.jpg', '/mnt/data/29092025/22/44/image_29092025_22_45_05_30823.jpg', '/mnt/data/29092025/22/44/image_29092025_22_44_35_29504.jpg', '/mnt/data/29092025/22/43/image_29092025_22_44_05_29810.jpg', '/mnt/data/29092025/22/43/image_29092025_22_43_35_30663.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 50.62706208229065 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:47:14.426541 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/46/image_29092025_22_47_05_29850.jpg', 2), ('/mnt/data/29092025/22/46/image_29092025_22_46_35_30947.jpg', 2), ('/mnt/data/29092025/22/35/image_29092025_22_36_05_30451.jpg', 2), ('/mnt/data/29092025/22/35/image_29092025_22_35_35_30401.jpg', 2), ('/mnt/data/29092025/22/34/image_29092025_22_35_04_29232.jpg', 2), ('/mnt/data/29092025/22/34/image_29092025_22_34_35_30443.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/46/image_29092025_22_47_05_29850.jpg', '/mnt/data/29092025/22/46/image_29092025_22_46_35_30947.jpg', '/mnt/data/29092025/22/35/image_29092025_22_36_05_30451.jpg', '/mnt/data/29092025/22/35/image_29092025_22_35_35_30401.jpg', '/mnt/data/29092025/22/34/image_29092025_22_35_04_29232.jpg', '/mnt/data/29092025/22/34/image_29092025_22_34_35_30443.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.76604199409485 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:48:14.548272 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.167250156402588 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/47/image_29092025_22_48_04_29523.jpg', 2), ('/mnt/data/29092025/22/47/image_29092025_22_47_35_29494.jpg', 2), ('/mnt/data/29092025/19/34/image_29092025_19_35_05_30242.jpg', 2), ('/mnt/data/29092025/19/34/image_29092025_19_34_35_29247.jpg', 2), ('/mnt/data/29092025/19/30/image_29092025_19_31_05_30581.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/47/image_29092025_22_48_04_29523.jpg', '/mnt/data/29092025/22/47/image_29092025_22_47_35_29494.jpg', '/mnt/data/29092025/19/34/image_29092025_19_35_05_30242.jpg', '/mnt/data/29092025/19/34/image_29092025_19_34_35_29247.jpg', '/mnt/data/29092025/19/30/image_29092025_19_31_05_30581.jpg', '/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:48:50.532065 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18685293197632 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', 2), ('/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', '/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', '/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', '/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', '/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', '/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:49:26.704473 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/48/image_29092025_22_48_35_30289.jpg', 2), ('/mnt/data/29092025/22/47/image_29092025_22_48_04_29523.jpg', 2), ('/mnt/data/29092025/22/47/image_29092025_22_47_35_29494.jpg', 2), ('/mnt/data/29092025/19/34/image_29092025_19_35_05_30242.jpg', 2), ('/mnt/data/29092025/19/34/image_29092025_19_34_35_29247.jpg', 2), ('/mnt/data/29092025/19/30/image_29092025_19_31_05_30581.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/48/image_29092025_22_48_35_30289.jpg', '/mnt/data/29092025/22/47/image_29092025_22_48_04_29523.jpg', '/mnt/data/29092025/22/47/image_29092025_22_47_35_29494.jpg', '/mnt/data/29092025/19/34/image_29092025_19_35_05_30242.jpg', '/mnt/data/29092025/19/34/image_29092025_19_34_35_29247.jpg', '/mnt/data/29092025/19/30/image_29092025_19_31_05_30581.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 45.61603927612305 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:50:13.877081 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.165783166885376 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/49/image_29092025_22_50_05_30651.jpg', 2), ('/mnt/data/29092025/22/48/image_29092025_22_49_05_30384.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg', 2), ('/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', 2), ('/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/49/image_29092025_22_50_05_30651.jpg', '/mnt/data/29092025/22/48/image_29092025_22_49_05_30384.jpg', '/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', '/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg', '/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', '/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:50:49.825123 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', 2), ('/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', 2), ('/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', 2), ('/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/28/image_29092025_05_29_05_30573.jpg', '/mnt/data/29092025/05/29/image_29092025_05_29_35_29530.jpg', '/mnt/data/29092025/05/29/image_29092025_05_30_06_30764.jpg', '/mnt/data/29092025/05/30/image_29092025_05_30_35_29543.jpg', '/mnt/data/29092025/05/30/image_29092025_05_31_05_29274.jpg', '/mnt/data/29092025/05/31/image_29092025_05_31_35_30725.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 59.848798513412476 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:52:02.768413 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/50/image_29092025_22_51_05_30659.jpg', 2), ('/mnt/data/29092025/22/50/image_29092025_22_50_34_29350.jpg', 2), ('/mnt/data/29092025/22/49/image_29092025_22_50_05_30651.jpg', 2), ('/mnt/data/29092025/22/48/image_29092025_22_49_05_30384.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', 2), ('/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/50/image_29092025_22_51_05_30659.jpg', '/mnt/data/29092025/22/50/image_29092025_22_50_34_29350.jpg', '/mnt/data/29092025/22/49/image_29092025_22_50_05_30651.jpg', '/mnt/data/29092025/22/48/image_29092025_22_49_05_30384.jpg', '/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', '/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/50/image_29092025_22_51_05_30659.jpg', '/mnt/data/29092025/22/50/image_29092025_22_50_34_29350.jpg', '/mnt/data/29092025/22/49/image_29092025_22_50_05_30651.jpg', '/mnt/data/29092025/22/48/image_29092025_22_49_05_30384.jpg', '/mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg', '/mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/50/image_29092025_22_51_05_30659.jpg /mnt/data/29092025/22/50/image_29092025_22_50_34_29350.jpg /mnt/data/29092025/22/49/image_29092025_22_50_05_30651.jpg /mnt/data/29092025/22/48/image_29092025_22_49_05_30384.jpg /mnt/data/29092025/19/29/image_29092025_19_30_06_30665.jpg /mnt/data/29092025/19/29/image_29092025_19_29_35_29358.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386796906","1386796941","1386796935","1386796938","1386796913","1386796922"],"photo_ids_order":["1386796906","1386796913","1386796922","1386796935","1386796938","1386796941"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/10937af2b80064dfa11deb0bd960dc77.jpg","text":"TemporaryFile(/tmp/multipartBody6625516564962559922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179194892,"filename":"image_29092025_22_51_05_30659.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/bf095c5d14a5c5c23acb7180aff7321b.jpg","text":"TemporaryFile(/tmp/multipartBody6013760055840672296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179194892,"filename":"image_29092025_19_29_35_29358.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/aa6ddb9fd158c281d34691430bd80c58.jpg","text":"TemporaryFile(/tmp/multipartBody6616265220228576178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179194892,"filename":"image_29092025_22_49_05_30384.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/096ae49eac4eccd9068f1f96dacf890a.jpg","text":"TemporaryFile(/tmp/multipartBody8760803376221268643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179194892,"filename":"image_29092025_19_30_06_30665.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a2743e8ca2ddcb07138007900afeed76.jpg","text":"TemporaryFile(/tmp/multipartBody4677953636513658844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179194892,"filename":"image_29092025_22_50_34_29350.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/efbee8c9968a170ab1ac10dc9ce9648d.jpg","text":"TemporaryFile(/tmp/multipartBody8219824963353929717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179194892,"filename":"image_29092025_22_50_05_30651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796922","file1":"1386796913","file0":"1386796906","file4":"1386796938","file5":"1386796941","file3":"1386796935"},"map_files_photo_id_array":[{"photo_id":"1386796941","filename":"file5"},{"photo_id":"1386796922","filename":"file2"},{"photo_id":"1386796938","filename":"file4"},{"photo_id":"1386796913","filename":"file1"},{"photo_id":"1386796906","filename":"file0"},{"photo_id":"1386796935","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386796906":["hashtag1","hashtag2"]},{"1386796941":["hashtag1","hashtag2"]},{"1386796935":["hashtag1","hashtag2"]},{"1386796938":["hashtag1","hashtag2"]},{"1386796913":["hashtag1","hashtag2"]},{"1386796922":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386796906, 1386796941, 1386796935, 1386796938, 1386796913, 1386796922)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 48.05082654953003 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:53:03.141629 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/51/image_29092025_22_52_05_30830.jpg', 2), ('/mnt/data/29092025/22/51/image_29092025_22_51_34_29354.jpg', 2), ('/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', 2), ('/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg', 2), ('/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', 2), ('/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/51/image_29092025_22_52_05_30830.jpg', '/mnt/data/29092025/22/51/image_29092025_22_51_34_29354.jpg', '/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', '/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg', '/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', '/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/51/image_29092025_22_52_05_30830.jpg', '/mnt/data/29092025/22/51/image_29092025_22_51_34_29354.jpg', '/mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg', '/mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg', '/mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg', '/mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/51/image_29092025_22_52_05_30830.jpg /mnt/data/29092025/22/51/image_29092025_22_51_34_29354.jpg /mnt/data/29092025/19/28/image_29092025_19_29_05_30659.jpg /mnt/data/29092025/19/28/image_29092025_19_28_35_29500.jpg /mnt/data/29092025/19/27/image_29092025_19_28_05_29821.jpg /mnt/data/29092025/19/27/image_29092025_19_27_35_30606.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386797023","1386797017","1386797026","1386796986","1386796982","1386796991"],"photo_ids_order":["1386796982","1386796986","1386796991","1386797017","1386797023","1386797026"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7caaeab1aeb57b5d18d7928589a7ef85.jpg","text":"TemporaryFile(/tmp/multipartBody5450884450481325745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179273010,"filename":"image_29092025_19_28_05_29821.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/c4e312f6014e420fd557b4aa4a084770.jpg","text":"TemporaryFile(/tmp/multipartBody8756397975171171664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179273010,"filename":"image_29092025_19_28_35_29500.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d7111a030bbc9671df4a0633fa9f9511.jpg","text":"TemporaryFile(/tmp/multipartBody3452659479232286032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179273010,"filename":"image_29092025_19_27_35_30606.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b35c44ff2e625c0fde0fcd197755655.jpg","text":"TemporaryFile(/tmp/multipartBody4288195698994681250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179273010,"filename":"image_29092025_22_51_34_29354.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7e0ff688b50c4ac2866baf8d8ccddd3e.jpg","text":"TemporaryFile(/tmp/multipartBody5822909951350811189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179273010,"filename":"image_29092025_22_52_05_30830.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eb3584a3cffa66a0e5d8fd46f73a15f9.jpg","text":"TemporaryFile(/tmp/multipartBody8480116497303838313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179273010,"filename":"image_29092025_19_29_05_30659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386796991","file1":"1386796986","file0":"1386796982","file4":"1386797023","file5":"1386797026","file3":"1386797017"},"map_files_photo_id_array":[{"photo_id":"1386797026","filename":"file5"},{"photo_id":"1386796991","filename":"file2"},{"photo_id":"1386797023","filename":"file4"},{"photo_id":"1386796986","filename":"file1"},{"photo_id":"1386796982","filename":"file0"},{"photo_id":"1386797017","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386797023":["hashtag1","hashtag2"]},{"1386797017":["hashtag1","hashtag2"]},{"1386797026":["hashtag1","hashtag2"]},{"1386796986":["hashtag1","hashtag2"]},{"1386796982":["hashtag1","hashtag2"]},{"1386796991":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386797023, 1386797017, 1386797026, 1386796986, 1386796982, 1386796991)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 66.22059416770935 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:54:14.526978 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18396496772766 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/53/image_29092025_22_54_04_29374.jpg', 2), ('/mnt/data/29092025/22/53/image_29092025_22_53_35_30532.jpg', 2), ('/mnt/data/29092025/22/52/image_29092025_22_53_04_29755.jpg', 2), ('/mnt/data/29092025/22/52/image_29092025_22_52_35_29471.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/53/image_29092025_22_54_04_29374.jpg', '/mnt/data/29092025/22/53/image_29092025_22_53_35_30532.jpg', '/mnt/data/29092025/22/52/image_29092025_22_53_04_29755.jpg', '/mnt/data/29092025/22/52/image_29092025_22_52_35_29471.jpg', '/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', '/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:54:50.530835 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/31/image_29092025_05_32_05_29785.jpg', 2), ('/mnt/data/29092025/05/32/image_29092025_05_32_35_29741.jpg', 2), ('/mnt/data/29092025/05/32/image_29092025_05_33_05_29749.jpg', 2), ('/mnt/data/29092025/05/33/image_29092025_05_33_36_31048.jpg', 2), ('/mnt/data/29092025/05/33/image_29092025_05_34_05_29544.jpg', 2), ('/mnt/data/29092025/05/34/image_29092025_05_34_36_30512.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/31/image_29092025_05_32_05_29785.jpg', '/mnt/data/29092025/05/32/image_29092025_05_32_35_29741.jpg', '/mnt/data/29092025/05/32/image_29092025_05_33_05_29749.jpg', '/mnt/data/29092025/05/33/image_29092025_05_33_36_31048.jpg', '/mnt/data/29092025/05/33/image_29092025_05_34_05_29544.jpg', '/mnt/data/29092025/05/34/image_29092025_05_34_36_30512.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 58.32654070854187 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:55:50.665801 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/34/image_29092025_05_35_05_29547.jpg', 2), ('/mnt/data/29092025/05/35/image_29092025_05_35_35_29343.jpg', 2), ('/mnt/data/29092025/05/35/image_29092025_05_36_05_30603.jpg', 2), ('/mnt/data/29092025/05/36/image_29092025_05_36_35_30343.jpg', 2), ('/mnt/data/29092025/05/36/image_29092025_05_37_05_29327.jpg', 2), ('/mnt/data/29092025/05/37/image_29092025_05_37_35_30493.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/34/image_29092025_05_35_05_29547.jpg', '/mnt/data/29092025/05/35/image_29092025_05_35_35_29343.jpg', '/mnt/data/29092025/05/35/image_29092025_05_36_05_30603.jpg', '/mnt/data/29092025/05/36/image_29092025_05_36_35_30343.jpg', '/mnt/data/29092025/05/36/image_29092025_05_37_05_29327.jpg', '/mnt/data/29092025/05/37/image_29092025_05_37_35_30493.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 44.533979654312134 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:56:37.805673 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/37/image_29092025_05_38_05_29473.jpg', 2), ('/mnt/data/29092025/05/38/image_29092025_05_38_36_30835.jpg', 2), ('/mnt/data/29092025/05/38/image_29092025_05_39_05_29339.jpg', 2), ('/mnt/data/29092025/05/39/image_29092025_05_39_35_30376.jpg', 2), ('/mnt/data/29092025/05/39/image_29092025_05_40_05_29382.jpg', 2), ('/mnt/data/29092025/05/40/image_29092025_05_40_35_30376.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/37/image_29092025_05_38_05_29473.jpg', '/mnt/data/29092025/05/38/image_29092025_05_38_36_30835.jpg', '/mnt/data/29092025/05/38/image_29092025_05_39_05_29339.jpg', '/mnt/data/29092025/05/39/image_29092025_05_39_35_30376.jpg', '/mnt/data/29092025/05/39/image_29092025_05_40_05_29382.jpg', '/mnt/data/29092025/05/40/image_29092025_05_40_35_30376.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 57.44331097602844 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:57:37.916661 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 22:59:03.314502 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/57/image_29092025_22_57_35_29153.jpg', 2), ('/mnt/data/29092025/22/56/image_29092025_22_57_05_30855.jpg', 2), ('/mnt/data/29092025/22/56/image_29092025_22_56_35_29497.jpg', 2), ('/mnt/data/29092025/22/55/image_29092025_22_56_05_30601.jpg', 2), ('/mnt/data/29092025/22/55/image_29092025_22_55_34_29089.jpg', 2), ('/mnt/data/29092025/22/54/image_29092025_22_55_05_30506.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/57/image_29092025_22_57_35_29153.jpg', '/mnt/data/29092025/22/56/image_29092025_22_57_05_30855.jpg', '/mnt/data/29092025/22/56/image_29092025_22_56_35_29497.jpg', '/mnt/data/29092025/22/55/image_29092025_22_56_05_30601.jpg', '/mnt/data/29092025/22/55/image_29092025_22_55_34_29089.jpg', '/mnt/data/29092025/22/54/image_29092025_22_55_05_30506.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/57/image_29092025_22_57_35_29153.jpg', '/mnt/data/29092025/22/56/image_29092025_22_57_05_30855.jpg', '/mnt/data/29092025/22/56/image_29092025_22_56_35_29497.jpg', '/mnt/data/29092025/22/55/image_29092025_22_56_05_30601.jpg', '/mnt/data/29092025/22/55/image_29092025_22_55_34_29089.jpg', '/mnt/data/29092025/22/54/image_29092025_22_55_05_30506.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/57/image_29092025_22_57_35_29153.jpg /mnt/data/29092025/22/56/image_29092025_22_57_05_30855.jpg /mnt/data/29092025/22/56/image_29092025_22_56_35_29497.jpg /mnt/data/29092025/22/55/image_29092025_22_56_05_30601.jpg /mnt/data/29092025/22/55/image_29092025_22_55_34_29089.jpg /mnt/data/29092025/22/54/image_29092025_22_55_05_30506.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 begin to post requests after request b'{"photo_ids":["1386797434","1386797424","1386797399","1386797393","1386797417","1386797432"],"photo_ids_order":["1386797393","1386797399","1386797417","1386797424","1386797432","1386797434"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/f572035368e7a91d097bd88de5f74106.jpg","text":"TemporaryFile(/tmp/multipartBody7816266603806070471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179611204,"filename":"image_29092025_22_55_05_30506.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9f19a99bec9a9c5b0c72dac08595e091.jpg","text":"TemporaryFile(/tmp/multipartBody5940740196440566649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179611204,"filename":"image_29092025_22_56_05_30601.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/427e532388cb74ebe93644ce18f0f5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8298779007773555865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179611204,"filename":"image_29092025_22_57_05_30855.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ac6570041eb5ba8dacd3d7464e9dde05.jpg","text":"TemporaryFile(/tmp/multipartBody2014598990614910630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179611204,"filename":"image_29092025_22_57_35_29153.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9853d42453e2bfcf54676a840b983d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2085896053471274694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179611204,"filename":"image_29092025_22_56_35_29497.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/d9f61bbe62151277a5a99881f0de8e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2113490690039222004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179611204,"filename":"image_29092025_22_55_34_29089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797417","file1":"1386797399","file0":"1386797393","file4":"1386797432","file5":"1386797434","file3":"1386797424"},"map_files_photo_id_array":[{"photo_id":"1386797434","filename":"file5"},{"photo_id":"1386797417","filename":"file2"},{"photo_id":"1386797432","filename":"file4"},{"photo_id":"1386797399","filename":"file1"},{"photo_id":"1386797393","filename":"file0"},{"photo_id":"1386797424","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386797434":["hashtag1","hashtag2"]},{"1386797424":["hashtag1","hashtag2"]},{"1386797399":["hashtag1","hashtag2"]},{"1386797393":["hashtag1","hashtag2"]},{"1386797417":["hashtag1","hashtag2"]},{"1386797432":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386797434, 1386797424, 1386797399, 1386797393, 1386797417, 1386797432)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 42.962074279785156 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 22:59:50.794224 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.19864249229431 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/40/image_29092025_05_41_06_30597.jpg', 2), ('/mnt/data/29092025/05/41/image_29092025_05_41_35_29228.jpg', 2), ('/mnt/data/29092025/05/41/image_29092025_05_42_06_30765.jpg', 2), ('/mnt/data/29092025/05/42/image_29092025_05_42_35_29482.jpg', 2), ('/mnt/data/29092025/05/42/image_29092025_05_43_05_29424.jpg', 2), ('/mnt/data/29092025/05/43/image_29092025_05_43_35_30643.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/40/image_29092025_05_41_06_30597.jpg', '/mnt/data/29092025/05/41/image_29092025_05_41_35_29228.jpg', '/mnt/data/29092025/05/41/image_29092025_05_42_06_30765.jpg', '/mnt/data/29092025/05/42/image_29092025_05_42_35_29482.jpg', '/mnt/data/29092025/05/42/image_29092025_05_43_05_29424.jpg', '/mnt/data/29092025/05/43/image_29092025_05_43_35_30643.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:00:26.025005 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/59/image_29092025_22_59_35_29609.jpg', 2), ('/mnt/data/29092025/22/54/image_29092025_22_54_35_30426.jpg', 2), ('/mnt/data/29092025/22/53/image_29092025_22_54_04_29374.jpg', 2), ('/mnt/data/29092025/22/53/image_29092025_22_53_35_30532.jpg', 2), ('/mnt/data/29092025/22/52/image_29092025_22_53_04_29755.jpg', 2), ('/mnt/data/29092025/22/52/image_29092025_22_52_35_29471.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/59/image_29092025_22_59_35_29609.jpg', '/mnt/data/29092025/22/54/image_29092025_22_54_35_30426.jpg', '/mnt/data/29092025/22/53/image_29092025_22_54_04_29374.jpg', '/mnt/data/29092025/22/53/image_29092025_22_53_35_30532.jpg', '/mnt/data/29092025/22/52/image_29092025_22_53_04_29755.jpg', '/mnt/data/29092025/22/52/image_29092025_22_52_35_29471.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 47.64809846878052 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:01:26.121320 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.180408477783203 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/22/57/image_29092025_22_58_04_29718.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', 2), ('/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', 2), ('/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg', 2), ('/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/57/image_29092025_22_58_04_29718.jpg', '/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', '/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', '/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', '/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg', '/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:02:02.617195 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/22/57/image_29092025_22_58_04_29718.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', 2), ('/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', 2), ('/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', 2), ('/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg', 2), ('/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/22/57/image_29092025_22_58_04_29718.jpg', '/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', '/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', '/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', '/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg', '/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/22/57/image_29092025_22_58_04_29718.jpg', '/mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg', '/mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg', '/mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg', '/mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg', '/mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/22/57/image_29092025_22_58_04_29718.jpg /mnt/data/29092025/19/26/image_29092025_19_27_05_29652.jpg /mnt/data/29092025/19/26/image_29092025_19_26_35_30543.jpg /mnt/data/29092025/19/25/image_29092025_19_26_05_29574.jpg /mnt/data/29092025/19/25/image_29092025_19_25_35_30379.jpg /mnt/data/29092025/19/24/image_29092025_19_25_05_29284.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386797728","1386797730","1386797732","1386797767","1386797761","1386797755"],"photo_ids_order":["1386797728","1386797730","1386797732","1386797755","1386797761","1386797767"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/1f78ba4e83bdd34ecd19a36ef3bd13f5.jpg","text":"TemporaryFile(/tmp/multipartBody8204015822314849578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179812472,"filename":"image_29092025_22_58_04_29718.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9fb888a2c8acf12b292ea9be82e8a1ec.jpg","text":"TemporaryFile(/tmp/multipartBody7842280750768837701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179812472,"filename":"image_29092025_19_27_05_29652.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/892a4c97038e1154cf4961bf31de8b33.jpg","text":"TemporaryFile(/tmp/multipartBody1758962018420260716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179812472,"filename":"image_29092025_19_26_35_30543.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2021f9c4e5c9ebe3a30a1ed6f98c97bd.jpg","text":"TemporaryFile(/tmp/multipartBody8488980441201687239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179812472,"filename":"image_29092025_19_25_05_29284.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/180bab1285a792099d906bcf717f1998.jpg","text":"TemporaryFile(/tmp/multipartBody5212397426789265777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179812472,"filename":"image_29092025_19_25_35_30379.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/fcdeba8b80c0a7126b760cba8fbb35e1.jpg","text":"TemporaryFile(/tmp/multipartBody5852868556982132805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759179812472,"filename":"image_29092025_19_26_05_29574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386797732","file1":"1386797730","file0":"1386797728","file4":"1386797761","file5":"1386797767","file3":"1386797755"},"map_files_photo_id_array":[{"photo_id":"1386797767","filename":"file5"},{"photo_id":"1386797732","filename":"file2"},{"photo_id":"1386797761","filename":"file4"},{"photo_id":"1386797730","filename":"file1"},{"photo_id":"1386797728","filename":"file0"},{"photo_id":"1386797755","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386797728":["hashtag1","hashtag2"]},{"1386797730":["hashtag1","hashtag2"]},{"1386797732":["hashtag1","hashtag2"]},{"1386797767":["hashtag1","hashtag2"]},{"1386797761":["hashtag1","hashtag2"]},{"1386797755":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386797728, 1386797730, 1386797732, 1386797767, 1386797761, 1386797755)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 64.84371852874756 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:03:14.440847 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/02/image_29092025_23_03_05_29242.jpg', 2), ('/mnt/data/29092025/23/01/image_29092025_23_01_35_29576.jpg', 2), ('/mnt/data/29092025/19/24/image_29092025_19_24_35_30577.jpg', 2), ('/mnt/data/29092025/19/23/image_29092025_19_24_05_29809.jpg', 2), ('/mnt/data/29092025/19/23/image_29092025_19_23_35_29570.jpg', 2), ('/mnt/data/29092025/19/22/image_29092025_19_23_06_30925.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/02/image_29092025_23_03_05_29242.jpg', '/mnt/data/29092025/23/01/image_29092025_23_01_35_29576.jpg', '/mnt/data/29092025/19/24/image_29092025_19_24_35_30577.jpg', '/mnt/data/29092025/19/23/image_29092025_19_24_05_29809.jpg', '/mnt/data/29092025/19/23/image_29092025_19_23_35_29570.jpg', '/mnt/data/29092025/19/22/image_29092025_19_23_06_30925.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 53.25105905532837 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:04:14.621146 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/03/image_29092025_23_04_05_30505.jpg', 2), ('/mnt/data/29092025/23/03/image_29092025_23_03_35_30336.jpg', 2), ('/mnt/data/29092025/19/22/image_29092025_19_22_35_29294.jpg', 2), ('/mnt/data/29092025/19/21/image_29092025_19_22_05_30731.jpg', 2), ('/mnt/data/29092025/19/21/image_29092025_19_21_35_29111.jpg', 2), ('/mnt/data/29092025/19/20/image_29092025_19_21_05_30372.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/03/image_29092025_23_04_05_30505.jpg', '/mnt/data/29092025/23/03/image_29092025_23_03_35_30336.jpg', '/mnt/data/29092025/19/22/image_29092025_19_22_35_29294.jpg', '/mnt/data/29092025/19/21/image_29092025_19_22_05_30731.jpg', '/mnt/data/29092025/19/21/image_29092025_19_21_35_29111.jpg', '/mnt/data/29092025/19/20/image_29092025_19_21_05_30372.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 56.92436623573303 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:05:14.801593 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.08996057510376 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/04/image_29092025_23_05_05_30230.jpg', 2), ('/mnt/data/29092025/23/04/image_29092025_23_04_35_29148.jpg', 2), ('/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/04/image_29092025_23_05_05_30230.jpg', '/mnt/data/29092025/23/04/image_29092025_23_04_35_29148.jpg', '/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 (Caused by ConnectTimeoutError(, 'Connection to marlene.fotonower.com timed out. (connect timeout=30)')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:05:50.764308 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/40/image_29092025_05_41_06_30597.jpg', 2), ('/mnt/data/29092025/05/41/image_29092025_05_41_35_29228.jpg', 2), ('/mnt/data/29092025/05/41/image_29092025_05_42_06_30765.jpg', 2), ('/mnt/data/29092025/05/42/image_29092025_05_42_35_29482.jpg', 2), ('/mnt/data/29092025/05/42/image_29092025_05_43_05_29424.jpg', 2), ('/mnt/data/29092025/05/43/image_29092025_05_43_35_30643.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/40/image_29092025_05_41_06_30597.jpg', '/mnt/data/29092025/05/41/image_29092025_05_41_35_29228.jpg', '/mnt/data/29092025/05/41/image_29092025_05_42_06_30765.jpg', '/mnt/data/29092025/05/42/image_29092025_05_42_35_29482.jpg', '/mnt/data/29092025/05/42/image_29092025_05_43_05_29424.jpg', '/mnt/data/29092025/05/43/image_29092025_05_43_35_30643.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.00095891952515 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:06:49.927339 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.223090887069702 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', 2), ('/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', '/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', '/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', '/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', '/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', '/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:07:26.058418 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/06/image_29092025_23_07_04_29708.jpg', 2), ('/mnt/data/29092025/23/06/image_29092025_23_06_35_29760.jpg', 2), ('/mnt/data/29092025/23/05/image_29092025_23_06_05_29657.jpg', 2), ('/mnt/data/29092025/23/05/image_29092025_23_05_35_30455.jpg', 2), ('/mnt/data/29092025/23/04/image_29092025_23_05_05_30230.jpg', 2), ('/mnt/data/29092025/23/04/image_29092025_23_04_35_29148.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/06/image_29092025_23_07_04_29708.jpg', '/mnt/data/29092025/23/06/image_29092025_23_06_35_29760.jpg', '/mnt/data/29092025/23/05/image_29092025_23_06_05_29657.jpg', '/mnt/data/29092025/23/05/image_29092025_23_05_35_30455.jpg', '/mnt/data/29092025/23/04/image_29092025_23_05_05_30230.jpg', '/mnt/data/29092025/23/04/image_29092025_23_04_35_29148.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.54325747489929 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:08:26.186332 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18476390838623 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', 2), ('/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg', 2), ('/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', '/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg', '/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:09:03.145920 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', 2), ('/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg', 2), ('/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', '/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg', '/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', '/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg', '/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg /mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg /mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg /mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg /mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg /mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.160902976989746 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:09:38.381326 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.17761778831482 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', 2), ('/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', '/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', '/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', '/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', '/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', '/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:10:14.534339 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/09/image_29092025_23_10_05_29599.jpg', 2), ('/mnt/data/29092025/23/09/image_29092025_23_09_35_30612.jpg', 2), ('/mnt/data/29092025/23/08/image_29092025_23_09_05_30430.jpg', 2), ('/mnt/data/29092025/23/08/image_29092025_23_08_34_29120.jpg', 2), ('/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', 2), ('/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/09/image_29092025_23_10_05_29599.jpg', '/mnt/data/29092025/23/09/image_29092025_23_09_35_30612.jpg', '/mnt/data/29092025/23/08/image_29092025_23_09_05_30430.jpg', '/mnt/data/29092025/23/08/image_29092025_23_08_34_29120.jpg', '/mnt/data/29092025/23/07/image_29092025_23_08_05_30228.jpg', '/mnt/data/29092025/23/07/image_29092025_23_07_35_30596.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 44.726497173309326 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:11:02.944351 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', '/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', '/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', '/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', '/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg /mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg /mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg /mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg /mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg /mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.19053030014038 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:11:38.703618 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', 2), ('/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', 2), ('/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', 2), ('/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/43/image_29092025_05_44_05_29542.jpg', '/mnt/data/29092025/05/44/image_29092025_05_44_35_30444.jpg', '/mnt/data/29092025/05/44/image_29092025_05_45_05_29415.jpg', '/mnt/data/29092025/05/45/image_29092025_05_45_35_30392.jpg', '/mnt/data/29092025/05/45/image_29092025_05_46_05_30304.jpg', '/mnt/data/29092025/05/46/image_29092025_05_46_36_30381.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 46.46662187576294 secondes --- MMMMMM fin de la fonction upload val : 1 : upload photos already in processing! Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:12:37.864334 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/46/image_29092025_05_47_05_29368.jpg', 2), ('/mnt/data/29092025/05/47/image_29092025_05_47_36_30549.jpg', 2), ('/mnt/data/29092025/05/47/image_29092025_05_48_05_29202.jpg', 2), ('/mnt/data/29092025/05/48/image_29092025_05_48_35_30431.jpg', 2), ('/mnt/data/29092025/05/48/image_29092025_05_49_05_29276.jpg', 2), ('/mnt/data/29092025/05/49/image_29092025_05_49_35_30509.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/46/image_29092025_05_47_05_29368.jpg', '/mnt/data/29092025/05/47/image_29092025_05_47_36_30549.jpg', '/mnt/data/29092025/05/47/image_29092025_05_48_05_29202.jpg', '/mnt/data/29092025/05/48/image_29092025_05_48_35_30431.jpg', '/mnt/data/29092025/05/48/image_29092025_05_49_05_29276.jpg', '/mnt/data/29092025/05/49/image_29092025_05_49_35_30509.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 47.373323917388916 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:13:25.995344 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.156487226486206 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/12/image_29092025_23_13_04_29656.jpg', 2), ('/mnt/data/29092025/23/12/image_29092025_23_12_35_29660.jpg', 2), ('/mnt/data/29092025/23/11/image_29092025_23_12_05_30815.jpg', 2), ('/mnt/data/29092025/23/11/image_29092025_23_11_34_29747.jpg', 2), ('/mnt/data/29092025/23/10/image_29092025_23_11_05_29880.jpg', 2), ('/mnt/data/29092025/23/10/image_29092025_23_10_35_29689.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/12/image_29092025_23_13_04_29656.jpg', '/mnt/data/29092025/23/12/image_29092025_23_12_35_29660.jpg', '/mnt/data/29092025/23/11/image_29092025_23_12_05_30815.jpg', '/mnt/data/29092025/23/11/image_29092025_23_11_34_29747.jpg', '/mnt/data/29092025/23/10/image_29092025_23_11_05_29880.jpg', '/mnt/data/29092025/23/10/image_29092025_23_10_35_29689.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:14:02.579508 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/12/image_29092025_23_13_04_29656.jpg', 2), ('/mnt/data/29092025/23/12/image_29092025_23_12_35_29660.jpg', 2), ('/mnt/data/29092025/23/11/image_29092025_23_12_05_30815.jpg', 2), ('/mnt/data/29092025/23/11/image_29092025_23_11_34_29747.jpg', 2), ('/mnt/data/29092025/23/10/image_29092025_23_11_05_29880.jpg', 2), ('/mnt/data/29092025/23/10/image_29092025_23_10_35_29689.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/12/image_29092025_23_13_04_29656.jpg', '/mnt/data/29092025/23/12/image_29092025_23_12_35_29660.jpg', '/mnt/data/29092025/23/11/image_29092025_23_12_05_30815.jpg', '/mnt/data/29092025/23/11/image_29092025_23_11_34_29747.jpg', '/mnt/data/29092025/23/10/image_29092025_23_11_05_29880.jpg', '/mnt/data/29092025/23/10/image_29092025_23_10_35_29689.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/12/image_29092025_23_13_04_29656.jpg', '/mnt/data/29092025/23/12/image_29092025_23_12_35_29660.jpg', '/mnt/data/29092025/23/11/image_29092025_23_12_05_30815.jpg', '/mnt/data/29092025/23/11/image_29092025_23_11_34_29747.jpg', '/mnt/data/29092025/23/10/image_29092025_23_11_05_29880.jpg', '/mnt/data/29092025/23/10/image_29092025_23_10_35_29689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/12/image_29092025_23_13_04_29656.jpg /mnt/data/29092025/23/12/image_29092025_23_12_35_29660.jpg /mnt/data/29092025/23/11/image_29092025_23_12_05_30815.jpg /mnt/data/29092025/23/11/image_29092025_23_11_34_29747.jpg /mnt/data/29092025/23/10/image_29092025_23_11_05_29880.jpg /mnt/data/29092025/23/10/image_29092025_23_10_35_29689.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386798576","1386798555","1386798549","1386798542","1386798562","1386798559"],"photo_ids_order":["1386798542","1386798549","1386798555","1386798559","1386798562","1386798576"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/7caedc84c1225f31fa4fa29b717eebe3.jpg","text":"TemporaryFile(/tmp/multipartBody1538862167355354852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180522290,"filename":"image_29092025_23_10_35_29689.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/a4d4f4a049b0fcfba9bcfaf0bca5e602.jpg","text":"TemporaryFile(/tmp/multipartBody7303578386092977042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180522290,"filename":"image_29092025_23_12_05_30815.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ee2bf638913b75febe5ed84d274a307a.jpg","text":"TemporaryFile(/tmp/multipartBody2444144162173069205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180522290,"filename":"image_29092025_23_12_35_29660.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/121f22985b5af21118a29845b8000a21.jpg","text":"TemporaryFile(/tmp/multipartBody1729843239477787689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180522290,"filename":"image_29092025_23_13_04_29656.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/114c4175e625ee849225ed860ed3e84c.jpg","text":"TemporaryFile(/tmp/multipartBody1594732424998829713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180522290,"filename":"image_29092025_23_11_05_29880.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/12ce9cf7b030dc2ed2dca17899ca18cb.jpg","text":"TemporaryFile(/tmp/multipartBody3276237581422129665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180522290,"filename":"image_29092025_23_11_34_29747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798555","file1":"1386798549","file0":"1386798542","file4":"1386798562","file5":"1386798576","file3":"1386798559"},"map_files_photo_id_array":[{"photo_id":"1386798576","filename":"file5"},{"photo_id":"1386798555","filename":"file2"},{"photo_id":"1386798562","filename":"file4"},{"photo_id":"1386798549","filename":"file1"},{"photo_id":"1386798542","filename":"file0"},{"photo_id":"1386798559","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386798576":["hashtag1","hashtag2"]},{"1386798555":["hashtag1","hashtag2"]},{"1386798549":["hashtag1","hashtag2"]},{"1386798542":["hashtag1","hashtag2"]},{"1386798562":["hashtag1","hashtag2"]},{"1386798559":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386798576, 1386798555, 1386798549, 1386798542, 1386798562, 1386798559)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 55.438791036605835 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:15:02.868585 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/13/image_29092025_23_14_05_30350.jpg', 2), ('/mnt/data/29092025/23/13/image_29092025_23_13_35_30512.jpg', 2), ('/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', 2), ('/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/13/image_29092025_23_14_05_30350.jpg', '/mnt/data/29092025/23/13/image_29092025_23_13_35_30512.jpg', '/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/13/image_29092025_23_14_05_30350.jpg', '/mnt/data/29092025/23/13/image_29092025_23_13_35_30512.jpg', '/mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg', '/mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg', '/mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg', '/mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/13/image_29092025_23_14_05_30350.jpg /mnt/data/29092025/23/13/image_29092025_23_13_35_30512.jpg /mnt/data/29092025/19/20/image_29092025_19_20_35_30373.jpg /mnt/data/29092025/19/19/image_29092025_19_20_05_29469.jpg /mnt/data/29092025/19/19/image_29092025_19_19_35_29735.jpg /mnt/data/29092025/19/18/image_29092025_19_19_05_30068.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386798613","1386798607","1386798618","1386798626","1386798602","1386798622"],"photo_ids_order":["1386798602","1386798607","1386798613","1386798618","1386798622","1386798626"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/76889a37e2180438c0251ec897583802.jpg","text":"TemporaryFile(/tmp/multipartBody4488844100023441461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180576902,"filename":"image_29092025_19_20_35_30373.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/532c604017343a2252c8136dd5e94c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3531731367602593145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180576902,"filename":"image_29092025_23_13_35_30512.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/5db4be996d8f0fa94d1a971c12d60541.jpg","text":"TemporaryFile(/tmp/multipartBody2070304104471365729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180576902,"filename":"image_29092025_19_20_05_29469.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/071d78f4f680a427514aacb9cc588c42.jpg","text":"TemporaryFile(/tmp/multipartBody3048226698042264611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180576902,"filename":"image_29092025_19_19_05_30068.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/faa9f4f6fa63400ba4a9cdd4519a015b.jpg","text":"TemporaryFile(/tmp/multipartBody5718616587229970758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180576902,"filename":"image_29092025_23_14_05_30350.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/29a458ee1f1369e26434f275d694c7c1.jpg","text":"TemporaryFile(/tmp/multipartBody6699179298037132253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759180576902,"filename":"image_29092025_19_19_35_29735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386798613","file1":"1386798607","file0":"1386798602","file4":"1386798622","file5":"1386798626","file3":"1386798618"},"map_files_photo_id_array":[{"photo_id":"1386798626","filename":"file5"},{"photo_id":"1386798613","filename":"file2"},{"photo_id":"1386798622","filename":"file4"},{"photo_id":"1386798607","filename":"file1"},{"photo_id":"1386798602","filename":"file0"},{"photo_id":"1386798618","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386798613":["hashtag1","hashtag2"]},{"1386798607":["hashtag1","hashtag2"]},{"1386798618":["hashtag1","hashtag2"]},{"1386798626":["hashtag1","hashtag2"]},{"1386798602":["hashtag1","hashtag2"]},{"1386798622":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386798613, 1386798607, 1386798618, 1386798626, 1386798602, 1386798622)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 48.987255573272705 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:16:02.771494 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/14/image_29092025_23_15_05_30785.jpg', 2), ('/mnt/data/29092025/23/14/image_29092025_23_14_34_29213.jpg', 2), ('/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', 2), ('/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg', 2), ('/mnt/data/29092025/19/16/image_29092025_19_17_06_30827.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/14/image_29092025_23_15_05_30785.jpg', '/mnt/data/29092025/23/14/image_29092025_23_14_34_29213.jpg', '/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', '/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', '/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg', '/mnt/data/29092025/19/16/image_29092025_19_17_06_30827.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/14/image_29092025_23_15_05_30785.jpg', '/mnt/data/29092025/23/14/image_29092025_23_14_34_29213.jpg', '/mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg', '/mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg', '/mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg', '/mnt/data/29092025/19/16/image_29092025_19_17_06_30827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/14/image_29092025_23_15_05_30785.jpg /mnt/data/29092025/23/14/image_29092025_23_14_34_29213.jpg /mnt/data/29092025/19/18/image_29092025_19_18_35_29776.jpg /mnt/data/29092025/19/17/image_29092025_19_18_06_30119.jpg /mnt/data/29092025/19/17/image_29092025_19_17_36_29850.jpg /mnt/data/29092025/19/16/image_29092025_19_17_06_30827.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.180569410324097 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:16:38.504133 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/49/image_29092025_05_50_06_30525.jpg', 2), ('/mnt/data/29092025/05/50/image_29092025_05_50_35_29519.jpg', 2), ('/mnt/data/29092025/05/50/image_29092025_05_51_05_29862.jpg', 2), ('/mnt/data/29092025/05/51/image_29092025_05_51_35_29858.jpg', 2), ('/mnt/data/29092025/05/51/image_29092025_05_52_05_30456.jpg', 2), ('/mnt/data/29092025/05/52/image_29092025_05_52_36_30434.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/49/image_29092025_05_50_06_30525.jpg', '/mnt/data/29092025/05/50/image_29092025_05_50_35_29519.jpg', '/mnt/data/29092025/05/50/image_29092025_05_51_05_29862.jpg', '/mnt/data/29092025/05/51/image_29092025_05_51_35_29858.jpg', '/mnt/data/29092025/05/51/image_29092025_05_52_05_30456.jpg', '/mnt/data/29092025/05/52/image_29092025_05_52_36_30434.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 49.18288278579712 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:17:38.618731 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/52/image_29092025_05_53_05_29283.jpg', 2), ('/mnt/data/29092025/05/53/image_29092025_05_53_35_30297.jpg', 2), ('/mnt/data/29092025/05/53/image_29092025_05_54_06_30398.jpg', 2), ('/mnt/data/29092025/05/54/image_29092025_05_54_35_29278.jpg', 2), ('/mnt/data/29092025/05/54/image_29092025_05_55_06_30595.jpg', 2), ('/mnt/data/29092025/05/55/image_29092025_05_55_35_29602.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/52/image_29092025_05_53_05_29283.jpg', '/mnt/data/29092025/05/53/image_29092025_05_53_35_30297.jpg', '/mnt/data/29092025/05/53/image_29092025_05_54_06_30398.jpg', '/mnt/data/29092025/05/54/image_29092025_05_54_35_29278.jpg', '/mnt/data/29092025/05/54/image_29092025_05_55_06_30595.jpg', '/mnt/data/29092025/05/55/image_29092025_05_55_35_29602.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 49.70778512954712 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:18:38.763161 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/55/image_29092025_05_56_05_29882.jpg', 2), ('/mnt/data/29092025/05/56/image_29092025_05_56_35_29542.jpg', 2), ('/mnt/data/29092025/05/56/image_29092025_05_57_05_30520.jpg', 2), ('/mnt/data/29092025/05/57/image_29092025_05_57_35_30412.jpg', 2), ('/mnt/data/29092025/05/57/image_29092025_05_58_05_29291.jpg', 2), ('/mnt/data/29092025/05/58/image_29092025_05_58_36_30886.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/55/image_29092025_05_56_05_29882.jpg', '/mnt/data/29092025/05/56/image_29092025_05_56_35_29542.jpg', '/mnt/data/29092025/05/56/image_29092025_05_57_05_30520.jpg', '/mnt/data/29092025/05/57/image_29092025_05_57_35_30412.jpg', '/mnt/data/29092025/05/57/image_29092025_05_58_05_29291.jpg', '/mnt/data/29092025/05/58/image_29092025_05_58_36_30886.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 43.80386710166931 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:19:25.949252 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/18/image_29092025_23_19_05_30344.jpg', 2), ('/mnt/data/29092025/23/18/image_29092025_23_18_35_30377.jpg', 2), ('/mnt/data/29092025/23/17/image_29092025_23_18_04_29318.jpg', 2), ('/mnt/data/29092025/23/17/image_29092025_23_17_35_30317.jpg', 2), ('/mnt/data/29092025/23/16/image_29092025_23_17_05_30413.jpg', 2), ('/mnt/data/29092025/23/16/image_29092025_23_16_34_29431.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/18/image_29092025_23_19_05_30344.jpg', '/mnt/data/29092025/23/18/image_29092025_23_18_35_30377.jpg', '/mnt/data/29092025/23/17/image_29092025_23_18_04_29318.jpg', '/mnt/data/29092025/23/17/image_29092025_23_17_35_30317.jpg', '/mnt/data/29092025/23/16/image_29092025_23_17_05_30413.jpg', '/mnt/data/29092025/23/16/image_29092025_23_16_34_29431.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 60.283557653427124 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:20:38.040856 in upload_from_sqlite, uploading in 27327521 uploaded 0 photos time to upload: 8.515912771224976 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/58/image_29092025_05_59_05_29481.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_05_59_35_29459.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_06_00_05_29989.jpg', 2), ('/mnt/data/29092025/06/00/image_29092025_06_00_35_30659.jpg', 2), ('/mnt/data/29092025/06/00/image_29092025_06_01_05_29724.jpg', 2), ('/mnt/data/29092025/06/01/image_29092025_06_01_35_29786.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/58/image_29092025_05_59_05_29481.jpg', '/mnt/data/29092025/05/59/image_29092025_05_59_35_29459.jpg', '/mnt/data/29092025/05/59/image_29092025_06_00_05_29989.jpg', '/mnt/data/29092025/06/00/image_29092025_06_00_35_30659.jpg', '/mnt/data/29092025/06/00/image_29092025_06_01_05_29724.jpg', '/mnt/data/29092025/06/01/image_29092025_06_01_35_29786.jpg'] batch 1 begin to post requests ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:20:50.046533 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/05/58/image_29092025_05_59_05_29481.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_05_59_35_29459.jpg', 2), ('/mnt/data/29092025/05/59/image_29092025_06_00_05_29989.jpg', 2), ('/mnt/data/29092025/06/00/image_29092025_06_00_35_30659.jpg', 2), ('/mnt/data/29092025/06/00/image_29092025_06_01_05_29724.jpg', 2), ('/mnt/data/29092025/06/01/image_29092025_06_01_35_29786.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/05/58/image_29092025_05_59_05_29481.jpg', '/mnt/data/29092025/05/59/image_29092025_05_59_35_29459.jpg', '/mnt/data/29092025/05/59/image_29092025_06_00_05_29989.jpg', '/mnt/data/29092025/06/00/image_29092025_06_00_35_30659.jpg', '/mnt/data/29092025/06/00/image_29092025_06_01_05_29724.jpg', '/mnt/data/29092025/06/01/image_29092025_06_01_35_29786.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 54.078964710235596 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:21:50.160904 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 31.2661030292511 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/01/image_29092025_06_02_05_29872.jpg', 2), ('/mnt/data/29092025/06/02/image_29092025_06_02_35_30676.jpg', 2), ('/mnt/data/29092025/06/02/image_29092025_06_03_05_29469.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_03_35_30404.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_04_06_30466.jpg', 2), ('/mnt/data/29092025/06/04/image_29092025_06_04_35_29341.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/01/image_29092025_06_02_05_29872.jpg', '/mnt/data/29092025/06/02/image_29092025_06_02_35_30676.jpg', '/mnt/data/29092025/06/02/image_29092025_06_03_05_29469.jpg', '/mnt/data/29092025/06/03/image_29092025_06_03_35_30404.jpg', '/mnt/data/29092025/06/03/image_29092025_06_04_06_30466.jpg', '/mnt/data/29092025/06/04/image_29092025_06_04_35_29341.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:22:26.344150 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 141.11099648475647 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/21/image_29092025_23_22_04_29589.jpg', 2), ('/mnt/data/29092025/23/21/image_29092025_23_21_35_30532.jpg', 2), ('/mnt/data/29092025/23/20/image_29092025_23_21_04_29270.jpg', 2), ('/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', 2), ('/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg', 2), ('/mnt/data/29092025/23/19/image_29092025_23_19_34_29069.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/21/image_29092025_23_22_04_29589.jpg', '/mnt/data/29092025/23/21/image_29092025_23_21_35_30532.jpg', '/mnt/data/29092025/23/20/image_29092025_23_21_04_29270.jpg', '/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', '/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg', '/mnt/data/29092025/23/19/image_29092025_23_19_34_29069.jpg'] batch 1 begin to post requests HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Read timed out. (read timeout=120) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:24:50.570212 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/01/image_29092025_06_02_05_29872.jpg', 2), ('/mnt/data/29092025/06/02/image_29092025_06_02_35_30676.jpg', 2), ('/mnt/data/29092025/06/02/image_29092025_06_03_05_29469.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_03_35_30404.jpg', 2), ('/mnt/data/29092025/06/03/image_29092025_06_04_06_30466.jpg', 2), ('/mnt/data/29092025/06/04/image_29092025_06_04_35_29341.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/01/image_29092025_06_02_05_29872.jpg', '/mnt/data/29092025/06/02/image_29092025_06_02_35_30676.jpg', '/mnt/data/29092025/06/02/image_29092025_06_03_05_29469.jpg', '/mnt/data/29092025/06/03/image_29092025_06_03_35_30404.jpg', '/mnt/data/29092025/06/03/image_29092025_06_04_06_30466.jpg', '/mnt/data/29092025/06/04/image_29092025_06_04_35_29341.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 54.440391302108765 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:25:50.719979 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/04/image_29092025_06_05_05_30449.jpg', 2), ('/mnt/data/29092025/06/05/image_29092025_06_05_35_29581.jpg', 2), ('/mnt/data/29092025/06/05/image_29092025_06_06_05_29775.jpg', 2), ('/mnt/data/29092025/06/06/image_29092025_06_06_35_30599.jpg', 2), ('/mnt/data/29092025/06/06/image_29092025_06_07_05_29427.jpg', 2), ('/mnt/data/29092025/06/07/image_29092025_06_07_35_29833.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/04/image_29092025_06_05_05_30449.jpg', '/mnt/data/29092025/06/05/image_29092025_06_05_35_29581.jpg', '/mnt/data/29092025/06/05/image_29092025_06_06_05_29775.jpg', '/mnt/data/29092025/06/06/image_29092025_06_06_35_30599.jpg', '/mnt/data/29092025/06/06/image_29092025_06_07_05_29427.jpg', '/mnt/data/29092025/06/07/image_29092025_06_07_35_29833.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.70437026023865 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:26:49.845469 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/07/image_29092025_06_08_05_29931.jpg', 2), ('/mnt/data/29092025/06/08/image_29092025_06_08_35_30510.jpg', 2), ('/mnt/data/29092025/06/08/image_29092025_06_09_06_30457.jpg', 2), ('/mnt/data/29092025/06/09/image_29092025_06_09_35_29451.jpg', 2), ('/mnt/data/29092025/06/09/image_29092025_06_10_05_30431.jpg', 2), ('/mnt/data/29092025/06/10/image_29092025_06_10_35_29288.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/07/image_29092025_06_08_05_29931.jpg', '/mnt/data/29092025/06/08/image_29092025_06_08_35_30510.jpg', '/mnt/data/29092025/06/08/image_29092025_06_09_06_30457.jpg', '/mnt/data/29092025/06/09/image_29092025_06_09_35_29451.jpg', '/mnt/data/29092025/06/09/image_29092025_06_10_05_30431.jpg', '/mnt/data/29092025/06/10/image_29092025_06_10_35_29288.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 42.24028491973877 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:27:38.013722 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:29:03.272109 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/26/image_29092025_23_26_35_30409.jpg', 2), ('/mnt/data/29092025/23/25/image_29092025_23_26_05_29348.jpg', 2), ('/mnt/data/29092025/23/25/image_29092025_23_25_35_30494.jpg', 2), ('/mnt/data/29092025/23/24/image_29092025_23_25_05_29706.jpg', 2), ('/mnt/data/29092025/23/24/image_29092025_23_24_35_30920.jpg', 2), ('/mnt/data/29092025/23/23/image_29092025_23_24_04_29582.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/26/image_29092025_23_26_35_30409.jpg', '/mnt/data/29092025/23/25/image_29092025_23_26_05_29348.jpg', '/mnt/data/29092025/23/25/image_29092025_23_25_35_30494.jpg', '/mnt/data/29092025/23/24/image_29092025_23_25_05_29706.jpg', '/mnt/data/29092025/23/24/image_29092025_23_24_35_30920.jpg', '/mnt/data/29092025/23/23/image_29092025_23_24_04_29582.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/26/image_29092025_23_26_35_30409.jpg', '/mnt/data/29092025/23/25/image_29092025_23_26_05_29348.jpg', '/mnt/data/29092025/23/25/image_29092025_23_25_35_30494.jpg', '/mnt/data/29092025/23/24/image_29092025_23_25_05_29706.jpg', '/mnt/data/29092025/23/24/image_29092025_23_24_35_30920.jpg', '/mnt/data/29092025/23/23/image_29092025_23_24_04_29582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/26/image_29092025_23_26_35_30409.jpg /mnt/data/29092025/23/25/image_29092025_23_26_05_29348.jpg /mnt/data/29092025/23/25/image_29092025_23_25_35_30494.jpg /mnt/data/29092025/23/24/image_29092025_23_25_05_29706.jpg /mnt/data/29092025/23/24/image_29092025_23_24_35_30920.jpg /mnt/data/29092025/23/23/image_29092025_23_24_04_29582.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386799373","1386799379","1386799396","1386799400","1386799390","1386799384"],"photo_ids_order":["1386799373","1386799379","1386799384","1386799390","1386799396","1386799400"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/81765863c430a7f0d875c243bb86e9bb.jpg","text":"TemporaryFile(/tmp/multipartBody8880511882992298414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418098,"filename":"image_29092025_23_26_35_30409.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eb0c03440849f992b199985c1f97025d.jpg","text":"TemporaryFile(/tmp/multipartBody3136184642698273054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418098,"filename":"image_29092025_23_26_05_29348.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/08f1fc9058b2ba3dcd6344d13782bbaf.jpg","text":"TemporaryFile(/tmp/multipartBody7914146808802249881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418098,"filename":"image_29092025_23_24_35_30920.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/eddf5869e7d1886448674849b6ab3a2d.jpg","text":"TemporaryFile(/tmp/multipartBody4991014719149734048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418098,"filename":"image_29092025_23_24_04_29582.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2d84e91c25125d2f7fb1c7a57f4e6eb9.jpg","text":"TemporaryFile(/tmp/multipartBody5913554307401189844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418098,"filename":"image_29092025_23_25_05_29706.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/53f405beab19164634d88785c85d4072.jpg","text":"TemporaryFile(/tmp/multipartBody92951704754114783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181418098,"filename":"image_29092025_23_25_35_30494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799384","file1":"1386799379","file0":"1386799373","file4":"1386799396","file5":"1386799400","file3":"1386799390"},"map_files_photo_id_array":[{"photo_id":"1386799400","filename":"file5"},{"photo_id":"1386799384","filename":"file2"},{"photo_id":"1386799396","filename":"file4"},{"photo_id":"1386799379","filename":"file1"},{"photo_id":"1386799373","filename":"file0"},{"photo_id":"1386799390","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386799373":["hashtag1","hashtag2"]},{"1386799379":["hashtag1","hashtag2"]},{"1386799396":["hashtag1","hashtag2"]},{"1386799400":["hashtag1","hashtag2"]},{"1386799390":["hashtag1","hashtag2"]},{"1386799384":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386799373, 1386799379, 1386799396, 1386799400, 1386799390, 1386799384)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 49.548811197280884 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:30:03.168396 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/28/image_29092025_23_29_05_30674.jpg', 2), ('/mnt/data/29092025/23/28/image_29092025_23_28_35_29586.jpg', 2), ('/mnt/data/29092025/23/27/image_29092025_23_28_05_29743.jpg', 2), ('/mnt/data/29092025/23/27/image_29092025_23_27_35_30710.jpg', 2), ('/mnt/data/29092025/23/23/image_29092025_23_23_35_29578.jpg', 2), ('/mnt/data/29092025/23/22/image_29092025_23_23_05_29869.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/28/image_29092025_23_29_05_30674.jpg', '/mnt/data/29092025/23/28/image_29092025_23_28_35_29586.jpg', '/mnt/data/29092025/23/27/image_29092025_23_28_05_29743.jpg', '/mnt/data/29092025/23/27/image_29092025_23_27_35_30710.jpg', '/mnt/data/29092025/23/23/image_29092025_23_23_35_29578.jpg', '/mnt/data/29092025/23/22/image_29092025_23_23_05_29869.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/28/image_29092025_23_29_05_30674.jpg', '/mnt/data/29092025/23/28/image_29092025_23_28_35_29586.jpg', '/mnt/data/29092025/23/27/image_29092025_23_28_05_29743.jpg', '/mnt/data/29092025/23/27/image_29092025_23_27_35_30710.jpg', '/mnt/data/29092025/23/23/image_29092025_23_23_35_29578.jpg', '/mnt/data/29092025/23/22/image_29092025_23_23_05_29869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/28/image_29092025_23_29_05_30674.jpg /mnt/data/29092025/23/28/image_29092025_23_28_35_29586.jpg /mnt/data/29092025/23/27/image_29092025_23_28_05_29743.jpg /mnt/data/29092025/23/27/image_29092025_23_27_35_30710.jpg /mnt/data/29092025/23/23/image_29092025_23_23_35_29578.jpg /mnt/data/29092025/23/22/image_29092025_23_23_05_29869.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386799452","1386799446","1386799442","1386799445","1386799439","1386799448"],"photo_ids_order":["1386799439","1386799442","1386799445","1386799446","1386799448","1386799452"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/417f714f78d4c954f71a9cbb6ad18f20.jpg","text":"TemporaryFile(/tmp/multipartBody2825704212670221394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181479754,"filename":"image_29092025_23_23_05_29869.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3ca6ae81fd37a22abb08194c93a129db.jpg","text":"TemporaryFile(/tmp/multipartBody4036312940030130264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181479754,"filename":"image_29092025_23_27_35_30710.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/36e589e2f565cb87f67a5bc7cc535a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4481483219195809561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181479754,"filename":"image_29092025_23_28_35_29586.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/8117e6906435c21b4cb659cf91d65383.jpg","text":"TemporaryFile(/tmp/multipartBody1114033932129921300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181479754,"filename":"image_29092025_23_28_05_29743.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b7845e52f0927604af20e79314a79850.jpg","text":"TemporaryFile(/tmp/multipartBody3046069647294023894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181479754,"filename":"image_29092025_23_29_05_30674.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2de2e6976d46fa2a5ba8decfeec27e53.jpg","text":"TemporaryFile(/tmp/multipartBody4257163134964005174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181479754,"filename":"image_29092025_23_23_35_29578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799445","file1":"1386799442","file0":"1386799439","file4":"1386799448","file5":"1386799452","file3":"1386799446"},"map_files_photo_id_array":[{"photo_id":"1386799452","filename":"file5"},{"photo_id":"1386799445","filename":"file2"},{"photo_id":"1386799448","filename":"file4"},{"photo_id":"1386799442","filename":"file1"},{"photo_id":"1386799439","filename":"file0"},{"photo_id":"1386799446","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386799452":["hashtag1","hashtag2"]},{"1386799446":["hashtag1","hashtag2"]},{"1386799442":["hashtag1","hashtag2"]},{"1386799445":["hashtag1","hashtag2"]},{"1386799439":["hashtag1","hashtag2"]},{"1386799448":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386799452, 1386799446, 1386799442, 1386799445, 1386799439, 1386799448)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 51.69161343574524 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:31:02.526999 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/29/image_29092025_23_30_05_29964.jpg', 2), ('/mnt/data/29092025/23/29/image_29092025_23_29_35_29571.jpg', 2), ('/mnt/data/29092025/23/22/image_29092025_23_22_35_30795.jpg', 2), ('/mnt/data/29092025/23/21/image_29092025_23_22_04_29589.jpg', 2), ('/mnt/data/29092025/23/21/image_29092025_23_21_35_30532.jpg', 2), ('/mnt/data/29092025/23/20/image_29092025_23_21_04_29270.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/29/image_29092025_23_30_05_29964.jpg', '/mnt/data/29092025/23/29/image_29092025_23_29_35_29571.jpg', '/mnt/data/29092025/23/22/image_29092025_23_22_35_30795.jpg', '/mnt/data/29092025/23/21/image_29092025_23_22_04_29589.jpg', '/mnt/data/29092025/23/21/image_29092025_23_21_35_30532.jpg', '/mnt/data/29092025/23/20/image_29092025_23_21_04_29270.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/29/image_29092025_23_30_05_29964.jpg', '/mnt/data/29092025/23/29/image_29092025_23_29_35_29571.jpg', '/mnt/data/29092025/23/22/image_29092025_23_22_35_30795.jpg', '/mnt/data/29092025/23/21/image_29092025_23_22_04_29589.jpg', '/mnt/data/29092025/23/21/image_29092025_23_21_35_30532.jpg', '/mnt/data/29092025/23/20/image_29092025_23_21_04_29270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/29/image_29092025_23_30_05_29964.jpg /mnt/data/29092025/23/29/image_29092025_23_29_35_29571.jpg /mnt/data/29092025/23/22/image_29092025_23_22_35_30795.jpg /mnt/data/29092025/23/21/image_29092025_23_22_04_29589.jpg /mnt/data/29092025/23/21/image_29092025_23_21_35_30532.jpg /mnt/data/29092025/23/20/image_29092025_23_21_04_29270.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386799500","1386799490","1386799495","1386799514","1386799510","1386799504"],"photo_ids_order":["1386799490","1386799495","1386799500","1386799504","1386799510","1386799514"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/58ee9e669f5c4df07fe493f755f4a094.jpg","text":"TemporaryFile(/tmp/multipartBody6712713755472692048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181547645,"filename":"image_29092025_23_22_35_30795.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/0a30c3e47f0106c48057d56d5f3cccdd.jpg","text":"TemporaryFile(/tmp/multipartBody2450196285770610632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181547645,"filename":"image_29092025_23_30_05_29964.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/70cac41faed9509375314e578b16ae5c.jpg","text":"TemporaryFile(/tmp/multipartBody7439377973330337749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181547645,"filename":"image_29092025_23_29_35_29571.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/025474cfde6b77e2e65bee80e0b09c7a.jpg","text":"TemporaryFile(/tmp/multipartBody6092719782459091401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181547645,"filename":"image_29092025_23_21_04_29270.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/9cb79921c007c5da3a2293d7785d87a8.jpg","text":"TemporaryFile(/tmp/multipartBody2380714742671178435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181547645,"filename":"image_29092025_23_21_35_30532.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/ec44953aea6e056e1c86a60282635926.jpg","text":"TemporaryFile(/tmp/multipartBody1891580968592465012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181547645,"filename":"image_29092025_23_22_04_29589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799500","file1":"1386799495","file0":"1386799490","file4":"1386799510","file5":"1386799514","file3":"1386799504"},"map_files_photo_id_array":[{"photo_id":"1386799514","filename":"file5"},{"photo_id":"1386799500","filename":"file2"},{"photo_id":"1386799510","filename":"file4"},{"photo_id":"1386799495","filename":"file1"},{"photo_id":"1386799490","filename":"file0"},{"photo_id":"1386799504","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386799500":["hashtag1","hashtag2"]},{"1386799490":["hashtag1","hashtag2"]},{"1386799495":["hashtag1","hashtag2"]},{"1386799514":["hashtag1","hashtag2"]},{"1386799510":["hashtag1","hashtag2"]},{"1386799504":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386799500, 1386799490, 1386799495, 1386799514, 1386799510, 1386799504)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 59.58593010902405 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:32:13.982107 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.164355754852295 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', 2), ('/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg', 2), ('/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg', 2), ('/mnt/data/29092025/23/30/image_29092025_23_30_35_30682.jpg', 2), ('/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', 2), ('/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', '/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg', '/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg', '/mnt/data/29092025/23/30/image_29092025_23_30_35_30682.jpg', '/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', '/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:32:49.968646 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/10/image_29092025_06_11_05_30541.jpg', 2), ('/mnt/data/29092025/06/11/image_29092025_06_11_35_29267.jpg', 2), ('/mnt/data/29092025/06/11/image_29092025_06_12_05_30786.jpg', 2), ('/mnt/data/29092025/06/12/image_29092025_06_12_35_29480.jpg', 2), ('/mnt/data/29092025/06/12/image_29092025_06_13_06_30798.jpg', 2), ('/mnt/data/29092025/06/13/image_29092025_06_13_35_29605.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/10/image_29092025_06_11_05_30541.jpg', '/mnt/data/29092025/06/11/image_29092025_06_11_35_29267.jpg', '/mnt/data/29092025/06/11/image_29092025_06_12_05_30786.jpg', '/mnt/data/29092025/06/12/image_29092025_06_12_35_29480.jpg', '/mnt/data/29092025/06/12/image_29092025_06_13_06_30798.jpg', '/mnt/data/29092025/06/13/image_29092025_06_13_35_29605.jpg'] batch 1 begin to post requests Result OK ! val : 1 : upload photos already in processing! uploaded 6 photos time to upload: 49.15417170524597 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:33:50.088632 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.218002319335938 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', 2), ('/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', '/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', '/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', '/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', '/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', '/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:34:26.214225 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.1606342792511 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/33/image_29092025_23_34_04_29236.jpg', 2), ('/mnt/data/29092025/23/33/image_29092025_23_33_35_30761.jpg', 2), ('/mnt/data/29092025/23/32/image_29092025_23_33_04_29484.jpg', 2), ('/mnt/data/29092025/23/32/image_29092025_23_32_35_29612.jpg', 2), ('/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', 2), ('/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/33/image_29092025_23_34_04_29236.jpg', '/mnt/data/29092025/23/33/image_29092025_23_33_35_30761.jpg', '/mnt/data/29092025/23/32/image_29092025_23_33_04_29484.jpg', '/mnt/data/29092025/23/32/image_29092025_23_32_35_29612.jpg', '/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', '/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:35:02.917734 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/33/image_29092025_23_34_04_29236.jpg', 2), ('/mnt/data/29092025/23/33/image_29092025_23_33_35_30761.jpg', 2), ('/mnt/data/29092025/23/32/image_29092025_23_33_04_29484.jpg', 2), ('/mnt/data/29092025/23/32/image_29092025_23_32_35_29612.jpg', 2), ('/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', 2), ('/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/33/image_29092025_23_34_04_29236.jpg', '/mnt/data/29092025/23/33/image_29092025_23_33_35_30761.jpg', '/mnt/data/29092025/23/32/image_29092025_23_33_04_29484.jpg', '/mnt/data/29092025/23/32/image_29092025_23_32_35_29612.jpg', '/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', '/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/33/image_29092025_23_34_04_29236.jpg', '/mnt/data/29092025/23/33/image_29092025_23_33_35_30761.jpg', '/mnt/data/29092025/23/32/image_29092025_23_33_04_29484.jpg', '/mnt/data/29092025/23/32/image_29092025_23_32_35_29612.jpg', '/mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg', '/mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/33/image_29092025_23_34_04_29236.jpg /mnt/data/29092025/23/33/image_29092025_23_33_35_30761.jpg /mnt/data/29092025/23/32/image_29092025_23_33_04_29484.jpg /mnt/data/29092025/23/32/image_29092025_23_32_35_29612.jpg /mnt/data/29092025/23/31/image_29092025_23_32_05_30819.jpg /mnt/data/29092025/23/31/image_29092025_23_31_34_29542.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! after data_to_send, before sending request begin to post requests after request b'{"photo_ids":["1386799719","1386799697","1386799693","1386799706","1386799702","1386799686"],"photo_ids_order":["1386799686","1386799693","1386799697","1386799702","1386799706","1386799719"],"photo_detail":[{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/b96b2f3cf0874bfe9154c749764d01d5.jpg","text":"TemporaryFile(/tmp/multipartBody8521193076618467360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181779013,"filename":"image_29092025_23_31_34_29542.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/11cef06957e687ba2b7e2981b12b18e3.jpg","text":"TemporaryFile(/tmp/multipartBody8682022386987545630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181779013,"filename":"image_29092025_23_33_04_29484.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/2420431892d4455d659df67512c236e1.jpg","text":"TemporaryFile(/tmp/multipartBody4789128819939820829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181779013,"filename":"image_29092025_23_33_35_30761.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/debb6b7ffc83726f7dd3191f842aa611.jpg","text":"TemporaryFile(/tmp/multipartBody3704398880065989039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181779013,"filename":"image_29092025_23_32_05_30819.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/3b9f3784758bf5b2326e20ed6594f446.jpg","text":"TemporaryFile(/tmp/multipartBody2463182482443740371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181779013,"filename":"image_29092025_23_32_35_29612.jpg","height":0,"width":0},{"mtr_user_id":979,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/29/e41bd8c7034cba7b3d861906c58b8c80.jpg","text":"TemporaryFile(/tmp/multipartBody5933947449288977925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1759181779013,"filename":"image_29092025_23_34_04_29236.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1386799697","file1":"1386799693","file0":"1386799686","file4":"1386799706","file5":"1386799719","file3":"1386799702"},"map_files_photo_id_array":[{"photo_id":"1386799719","filename":"file5"},{"photo_id":"1386799697","filename":"file2"},{"photo_id":"1386799706","filename":"file4"},{"photo_id":"1386799693","filename":"file1"},{"photo_id":"1386799686","filename":"file0"},{"photo_id":"1386799702","filename":"file3"}],"portfolio_id":27327521,"hashtag_by_photo_ids":[{"1386799719":["hashtag1","hashtag2"]},{"1386799697":["hashtag1","hashtag2"]},{"1386799693":["hashtag1","hashtag2"]},{"1386799706":["hashtag1","hashtag2"]},{"1386799702":["hashtag1","hashtag2"]},{"1386799686":["hashtag1","hashtag2"]}],"comms":"Portfolio 27327521 used, photo_id : ArrayBuffer(1386799719, 1386799697, 1386799693, 1386799706, 1386799702, 1386799686)","result":[],"list_datou_current":[]}' Result OK ! uploaded 6 photos time to upload: 50.5490665435791 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:36:02.990102 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', 2), ('/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg', 2), ('/mnt/data/29092025/23/30/image_29092025_23_30_35_30682.jpg', 2), ('/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', 2), ('/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg', 2), ('/mnt/data/29092025/23/19/image_29092025_23_19_34_29069.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', '/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg', '/mnt/data/29092025/23/30/image_29092025_23_30_35_30682.jpg', '/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', '/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg', '/mnt/data/29092025/23/19/image_29092025_23_19_34_29069.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', '/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg', '/mnt/data/29092025/23/30/image_29092025_23_30_35_30682.jpg', '/mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg', '/mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg', '/mnt/data/29092025/23/19/image_29092025_23_19_34_29069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg /mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg /mnt/data/29092025/23/30/image_29092025_23_30_35_30682.jpg /mnt/data/29092025/23/20/image_29092025_23_20_35_30361.jpg /mnt/data/29092025/23/19/image_29092025_23_20_05_30443.jpg /mnt/data/29092025/23/19/image_29092025_23_19_34_29069.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.184218645095825 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:36:38.571353 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.203575134277344 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', 2), ('/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', '/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', '/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', '/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', '/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', '/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:37:14.652860 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18106484413147 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', 2), ('/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', 2), ('/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', 2), ('/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', 2), ('/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', '/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', '/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', '/mnt/data/29092025/23/30/image_29092025_23_31_05_29376.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:37:50.636639 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', 2), ('/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', 2), ('/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', 2), ('/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/13/image_29092025_06_14_05_29400.jpg', '/mnt/data/29092025/06/14/image_29092025_06_14_35_30419.jpg', '/mnt/data/29092025/06/15/image_29092025_06_15_35_30522.jpg', '/mnt/data/29092025/06/15/image_29092025_06_16_05_29451.jpg', '/mnt/data/29092025/06/16/image_29092025_06_16_35_30399.jpg', '/mnt/data/29092025/06/16/image_29092025_06_17_06_30552.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 56.94775366783142 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:38:50.756518 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/17/image_29092025_06_17_35_29603.jpg', 2), ('/mnt/data/29092025/06/17/image_29092025_06_18_05_30131.jpg', 2), ('/mnt/data/29092025/06/18/image_29092025_06_18_35_29385.jpg', 2), ('/mnt/data/29092025/06/18/image_29092025_06_19_06_30995.jpg', 2), ('/mnt/data/29092025/06/19/image_29092025_06_19_35_29667.jpg', 2), ('/mnt/data/29092025/06/19/image_29092025_06_20_05_30087.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/17/image_29092025_06_17_35_29603.jpg', '/mnt/data/29092025/06/17/image_29092025_06_18_05_30131.jpg', '/mnt/data/29092025/06/18/image_29092025_06_18_35_29385.jpg', '/mnt/data/29092025/06/18/image_29092025_06_19_06_30995.jpg', '/mnt/data/29092025/06/19/image_29092025_06_19_35_29667.jpg', '/mnt/data/29092025/06/19/image_29092025_06_20_05_30087.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 54.21233534812927 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:39:49.898738 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/20/image_29092025_06_20_35_29655.jpg', 2), ('/mnt/data/29092025/06/20/image_29092025_06_21_06_30515.jpg', 2), ('/mnt/data/29092025/06/21/image_29092025_06_21_35_29473.jpg', 2), ('/mnt/data/29092025/06/22/image_29092025_06_23_05_28890.jpg', 2), ('/mnt/data/29092025/06/23/image_29092025_06_23_35_30455.jpg', 2), ('/mnt/data/29092025/06/23/image_29092025_06_24_05_29876.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/20/image_29092025_06_20_35_29655.jpg', '/mnt/data/29092025/06/20/image_29092025_06_21_06_30515.jpg', '/mnt/data/29092025/06/21/image_29092025_06_21_35_29473.jpg', '/mnt/data/29092025/06/22/image_29092025_06_23_05_28890.jpg', '/mnt/data/29092025/06/23/image_29092025_06_23_35_30455.jpg', '/mnt/data/29092025/06/23/image_29092025_06_24_05_29876.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 50.64334416389465 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:40:50.065255 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/24/image_29092025_06_25_05_30704.jpg', 2), ('/mnt/data/29092025/06/25/image_29092025_06_25_36_30413.jpg', 2), ('/mnt/data/29092025/06/25/image_29092025_06_26_05_29603.jpg', 2), ('/mnt/data/29092025/06/26/image_29092025_06_26_35_29675.jpg', 2), ('/mnt/data/29092025/06/26/image_29092025_06_27_06_30777.jpg', 2), ('/mnt/data/29092025/06/27/image_29092025_06_27_35_29581.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/24/image_29092025_06_25_05_30704.jpg', '/mnt/data/29092025/06/25/image_29092025_06_25_36_30413.jpg', '/mnt/data/29092025/06/25/image_29092025_06_26_05_29603.jpg', '/mnt/data/29092025/06/26/image_29092025_06_26_35_29675.jpg', '/mnt/data/29092025/06/26/image_29092025_06_27_06_30777.jpg', '/mnt/data/29092025/06/27/image_29092025_06_27_35_29581.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 51.76918601989746 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:41:50.234413 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.217176914215088 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', 2), ('/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', '/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', '/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', '/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', '/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', '/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:42:26.374665 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/41/image_29092025_23_42_05_29719.jpg', 2), ('/mnt/data/29092025/23/41/image_29092025_23_41_35_29734.jpg', 2), ('/mnt/data/29092025/23/40/image_29092025_23_41_05_30753.jpg', 2), ('/mnt/data/29092025/23/40/image_29092025_23_40_34_29247.jpg', 2), ('/mnt/data/29092025/23/39/image_29092025_23_40_05_30466.jpg', 2), ('/mnt/data/29092025/23/39/image_29092025_23_39_35_30382.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/41/image_29092025_23_42_05_29719.jpg', '/mnt/data/29092025/23/41/image_29092025_23_41_35_29734.jpg', '/mnt/data/29092025/23/40/image_29092025_23_41_05_30753.jpg', '/mnt/data/29092025/23/40/image_29092025_23_40_34_29247.jpg', '/mnt/data/29092025/23/39/image_29092025_23_40_05_30466.jpg', '/mnt/data/29092025/23/39/image_29092025_23_39_35_30382.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 48.36043167114258 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:43:26.507189 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.667194843292236 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', 2), ('/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg', 2), ('/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', '/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg', '/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', '/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:44:03.092176 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', 2), ('/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg', 2), ('/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', '/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg', '/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', '/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', '/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg', '/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', '/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg /mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg /mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg /mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg /mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg /mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.18332576751709 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:44:38.656666 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.194000244140625 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', 2), ('/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', '/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', '/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', '/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', '/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', '/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:45:13.786322 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/44/image_29092025_23_45_05_29449.jpg', 2), ('/mnt/data/29092025/23/44/image_29092025_23_44_35_30325.jpg', 2), ('/mnt/data/29092025/23/43/image_29092025_23_44_05_30306.jpg', 2), ('/mnt/data/29092025/23/43/image_29092025_23_43_35_30386.jpg', 2), ('/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', 2), ('/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/44/image_29092025_23_45_05_29449.jpg', '/mnt/data/29092025/23/44/image_29092025_23_44_35_30325.jpg', '/mnt/data/29092025/23/43/image_29092025_23_44_05_30306.jpg', '/mnt/data/29092025/23/43/image_29092025_23_43_35_30386.jpg', '/mnt/data/29092025/23/42/image_29092025_23_43_04_29820.jpg', '/mnt/data/29092025/23/42/image_29092025_23_42_35_29857.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 45.77365589141846 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:46:02.327419 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', 2), ('/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', '/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', '/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg /mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg /mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg /mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg /mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg /mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.16746473312378 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:46:37.908439 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.200644493103027 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', 2), ('/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', '/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', '/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', '/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', '/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', '/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:47:14.046619 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/46/image_29092025_23_47_05_30894.jpg', 2), ('/mnt/data/29092025/23/46/image_29092025_23_46_34_29578.jpg', 2), ('/mnt/data/29092025/23/45/image_29092025_23_46_05_29435.jpg', 2), ('/mnt/data/29092025/23/45/image_29092025_23_45_35_30511.jpg', 2), ('/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/46/image_29092025_23_47_05_30894.jpg', '/mnt/data/29092025/23/46/image_29092025_23_46_34_29578.jpg', '/mnt/data/29092025/23/45/image_29092025_23_46_05_29435.jpg', '/mnt/data/29092025/23/45/image_29092025_23_45_35_30511.jpg', '/mnt/data/29092025/23/38/image_29092025_23_39_04_29367.jpg', '/mnt/data/29092025/23/37/image_29092025_23_38_04_29304.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 46.27691340446472 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:48:02.719557 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', 2), ('/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', 2), ('/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', 2), ('/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', '/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', '/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', '/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', '/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg /mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg /mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg /mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg /mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg /mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.175492763519287 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:48:38.171896 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', 2), ('/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', 2), ('/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', 2), ('/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/27/image_29092025_06_28_05_29570.jpg', '/mnt/data/29092025/06/28/image_29092025_06_28_35_29697.jpg', '/mnt/data/29092025/06/28/image_29092025_06_29_05_30818.jpg', '/mnt/data/29092025/06/29/image_29092025_06_29_35_29716.jpg', '/mnt/data/29092025/06/29/image_29092025_06_30_05_30190.jpg', '/mnt/data/29092025/06/30/image_29092025_06_30_35_29680.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 56.01987385749817 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:49:38.363220 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/30/image_29092025_06_31_05_30468.jpg', 2), ('/mnt/data/29092025/06/31/image_29092025_06_31_35_29158.jpg', 2), ('/mnt/data/29092025/06/31/image_29092025_06_32_05_30354.jpg', 2), ('/mnt/data/29092025/06/32/image_29092025_06_32_35_30418.jpg', 2), ('/mnt/data/29092025/06/32/image_29092025_06_33_05_29245.jpg', 2), ('/mnt/data/29092025/06/33/image_29092025_06_33_35_30564.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/30/image_29092025_06_31_05_30468.jpg', '/mnt/data/29092025/06/31/image_29092025_06_31_35_29158.jpg', '/mnt/data/29092025/06/31/image_29092025_06_32_05_30354.jpg', '/mnt/data/29092025/06/32/image_29092025_06_32_35_30418.jpg', '/mnt/data/29092025/06/32/image_29092025_06_33_05_29245.jpg', '/mnt/data/29092025/06/33/image_29092025_06_33_35_30564.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 44.60374617576599 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:50:26.497502 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/49/image_29092025_23_50_04_29591.jpg', 2), ('/mnt/data/29092025/23/49/image_29092025_23_49_35_29345.jpg', 2), ('/mnt/data/29092025/23/48/image_29092025_23_49_05_30582.jpg', 2), ('/mnt/data/29092025/23/48/image_29092025_23_48_35_30367.jpg', 2), ('/mnt/data/29092025/23/47/image_29092025_23_48_04_29505.jpg', 2), ('/mnt/data/29092025/23/47/image_29092025_23_47_35_29600.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/49/image_29092025_23_50_04_29591.jpg', '/mnt/data/29092025/23/49/image_29092025_23_49_35_29345.jpg', '/mnt/data/29092025/23/48/image_29092025_23_49_05_30582.jpg', '/mnt/data/29092025/23/48/image_29092025_23_48_35_30367.jpg', '/mnt/data/29092025/23/47/image_29092025_23_48_04_29505.jpg', '/mnt/data/29092025/23/47/image_29092025_23_47_35_29600.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.46133351325989 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:51:26.606969 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.164023637771606 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', 2), ('/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', 2), ('/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', '/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -u marlene.fotonower.com -P https -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --interval 1 --last_days 120 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db -v 2025-09-29 23:52:03.150922 port_id : 27327521 datou_current_id : 3791468 in upload_from_sqlite, uploading in 27327521 in upload_photo_and_update_logs, uploading 6 files debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql SELECT filename, to_upload FROM mra_photos WHERE to_upload in (2, 2) AND day_taken_at = 20250929 ORDER BY id_local DESC LIMIT 6; error upload [('/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', 2), ('/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', 2), ('/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', '/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg'] batch 1 in upload media Upload medias : ['/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', '/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=85213b338a7900a79945692114f14db2&datou_current_id=3791468&datou=0 /mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg /mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg /mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg /mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg /mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg /mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.156800508499146 secondes --- after data_to_send, before sending request begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:52:38.730935 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/33/image_29092025_06_34_05_29637.jpg', 2), ('/mnt/data/29092025/06/34/image_29092025_06_34_36_30857.jpg', 2), ('/mnt/data/29092025/06/34/image_29092025_06_35_05_29299.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_35_35_30400.jpg', 2), ('/mnt/data/29092025/06/35/image_29092025_06_36_05_29469.jpg', 2), ('/mnt/data/29092025/06/36/image_29092025_06_36_35_30294.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/33/image_29092025_06_34_05_29637.jpg', '/mnt/data/29092025/06/34/image_29092025_06_34_36_30857.jpg', '/mnt/data/29092025/06/34/image_29092025_06_35_05_29299.jpg', '/mnt/data/29092025/06/35/image_29092025_06_35_35_30400.jpg', '/mnt/data/29092025/06/35/image_29092025_06_36_05_29469.jpg', '/mnt/data/29092025/06/36/image_29092025_06_36_35_30294.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 47.33017015457153 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:53:37.890092 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! uploaded 0 photos time to upload: 30.22495126724243 secondes --- debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_37_35_30700.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_38_05_29972.jpg', 2), ('/mnt/data/29092025/06/38/image_29092025_06_38_35_29560.jpg', 2), ('/mnt/data/29092025/06/38/image_29092025_06_39_06_30835.jpg', 2), ('/mnt/data/29092025/06/39/image_29092025_06_39_35_29535.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', '/mnt/data/29092025/06/37/image_29092025_06_37_35_30700.jpg', '/mnt/data/29092025/06/37/image_29092025_06_38_05_29972.jpg', '/mnt/data/29092025/06/38/image_29092025_06_38_35_29560.jpg', '/mnt/data/29092025/06/38/image_29092025_06_39_06_30835.jpg', '/mnt/data/29092025/06/39/image_29092025_06_39_35_29535.jpg'] batch 1 begin to post requests ('Connection aborted.', timeout('The write operation timed out',)) requests timeout Result Failed! MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:54:14.036051 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/53/image_29092025_23_54_05_30393.jpg', 2), ('/mnt/data/29092025/23/53/image_29092025_23_53_35_30452.jpg', 2), ('/mnt/data/29092025/23/52/image_29092025_23_53_04_29418.jpg', 2), ('/mnt/data/29092025/23/52/image_29092025_23_52_35_30691.jpg', 2), ('/mnt/data/29092025/23/51/image_29092025_23_52_04_29270.jpg', 2), ('/mnt/data/29092025/23/51/image_29092025_23_51_35_30554.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/53/image_29092025_23_54_05_30393.jpg', '/mnt/data/29092025/23/53/image_29092025_23_53_35_30452.jpg', '/mnt/data/29092025/23/52/image_29092025_23_53_04_29418.jpg', '/mnt/data/29092025/23/52/image_29092025_23_52_35_30691.jpg', '/mnt/data/29092025/23/51/image_29092025_23_52_04_29270.jpg', '/mnt/data/29092025/23/51/image_29092025_23_51_35_30554.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 60.238104820251465 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:55:26.196315 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/54/image_29092025_23_55_05_30486.jpg', 2), ('/mnt/data/29092025/23/54/image_29092025_23_54_34_29233.jpg', 2), ('/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', 2), ('/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', 2), ('/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/54/image_29092025_23_55_05_30486.jpg', '/mnt/data/29092025/23/54/image_29092025_23_54_34_29233.jpg', '/mnt/data/29092025/23/50/image_29092025_23_51_04_29479.jpg', '/mnt/data/29092025/23/50/image_29092025_23_50_35_30748.jpg', '/mnt/data/29092025/23/37/image_29092025_23_37_35_30435.jpg', '/mnt/data/29092025/23/36/image_29092025_23_37_05_29663.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 46.04520130157471 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -o DESC -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:56:14.314217 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/23/55/image_29092025_23_56_05_29579.jpg', 2), ('/mnt/data/29092025/23/55/image_29092025_23_55_35_30438.jpg', 2), ('/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', 2), ('/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', 2), ('/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', 2), ('/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/23/55/image_29092025_23_56_05_29579.jpg', '/mnt/data/29092025/23/55/image_29092025_23_55_35_30438.jpg', '/mnt/data/29092025/23/36/image_29092025_23_36_35_29773.jpg', '/mnt/data/29092025/23/35/image_29092025_23_36_05_30631.jpg', '/mnt/data/29092025/23/34/image_29092025_23_35_05_30486.jpg', '/mnt/data/29092025/23/34/image_29092025_23_34_35_30383.jpg'] batch 1 begin to post requests uploaded 0 photos time to upload: 14.667353391647339 secondes --- 400 MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:56:38.294554 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! val : 1 : upload photos already in processing! debut du main YYYYYY appel à la fonction d'upload dans la fonction de sql error upload [('/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_37_35_30700.jpg', 2), ('/mnt/data/29092025/06/37/image_29092025_06_38_05_29972.jpg', 2), ('/mnt/data/29092025/06/38/image_29092025_06_38_35_29560.jpg', 2), ('/mnt/data/29092025/06/38/image_29092025_06_39_06_30835.jpg', 2), ('/mnt/data/29092025/06/39/image_29092025_06_39_35_29535.jpg', 2)] port id, 27327521 XXXXXXXXXXXXXXXXXXXXXXX comportement raspi FILES, ['/mnt/data/29092025/06/36/image_29092025_06_37_05_29421.jpg', '/mnt/data/29092025/06/37/image_29092025_06_37_35_30700.jpg', '/mnt/data/29092025/06/37/image_29092025_06_38_05_29972.jpg', '/mnt/data/29092025/06/38/image_29092025_06_38_35_29560.jpg', '/mnt/data/29092025/06/38/image_29092025_06_39_06_30835.jpg', '/mnt/data/29092025/06/39/image_29092025_06_39_35_29535.jpg'] batch 1 begin to post requests Result OK ! uploaded 6 photos time to upload: 52.33801889419556 secondes --- MMMMMM fin de la fonction upload Start to upload photos with parameters : -n jetson_test_aec_mm_0225 -P https -u marlene.fotonower.com -f /mnt/data -t 85213b338a7900a79945692114f14db2 --datou_id=533 --threshold=60 -j upload_by_sql_test --last_days 120 --interval 1 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db 2025-09-29 23:57:38.421781 in upload_from_sqlite, uploading in 27327521 val : 1 : upload photos already in processing!